: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<form class="ppw_main_container" id="wp_protect_password_general_form">
<input type="hidden" id="ppw_general_form_nonce"
value="<?php echo esc_attr( wp_create_nonce( PPW_Constants::GENERAL_FORM_NONCE ) ); ?>"/>
<table class="ppwp_settings_table" cellpadding="4">
<tr id="pda-password-protection">
<h3><?php echo esc_html__( 'PASSWORD PROTECTION', PPW_Constants::DOMAIN ); ?></h3>
include PPW_DIR_PATH . 'includes/views/general/view-ppw-custom-column-permission.php';
include PPW_DIR_PATH . 'includes/views/general/view-ppw-expired-cookie.php';
include PPW_DIR_PATH . 'includes/views/general/view-ppw-whitelist-roles.php';
include PPW_DIR_PATH . 'includes/views/general/view-ppw-auto-protect-child-page.php';
// include PPW_DIR_PATH . 'includes/views/general/view-ppw-protect-private-pages.php';
include PPW_DIR_PATH . 'includes/views/general/view-ppw-hide-protected-post.php';
<tr id="wpp-password-form">
<h3><?php echo esc_html__( 'PASSWORD FORM CUSTOMIZATION', PPW_Constants::DOMAIN ); ?></h3>
<td class="feature-input"><span class="feature-input"></span></td>
$link_error_message = sprintf(
'<a target="_blank" rel="noopener" href="%s">error message & password form</a>',
'https://passwordprotectwp.com/customize-password-form-wordpress-customizer/?utm_source=user-website&utm_medium=settings-general-tab&utm_campaign=ppwp-free'
$link_customizer = sprintf(
'<a target="_blank" rel="noopener" href="%s">WordPress Customizer</a>',
'customize.php?autofocus[panel]=ppwp'
// translators: %s: Link to documentation.
esc_html__( 'Customize the default %1$s including headline, description and button under %2$s.', PPW_Constants::DOMAIN ),
<?php echo wp_kses_post( $form_message ); ?>
// include PPW_DIR_PATH . 'includes/views/general/view-ppw-form-message.php';
// include PPW_DIR_PATH . 'includes/views/general/view-ppw-error-message.php';
<tr id="wpp-password-form">
<h3><?php echo esc_html__( 'ADVANCED OPTIONS', PPW_Constants::DOMAIN ); ?></h3>
include PPW_DIR_PATH . 'includes/views/general/view-ppw-remove-search-engine.php';
include PPW_DIR_PATH . 'includes/views/general/view-ppw-remove-data.php';
<table class="ppwp_settings_table" cellpadding="4">
include PPW_DIR_PATH . 'includes/views/general/view-ppw-notices-cache.php';