Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/password.../includes/views/troubles...
File: view-ppw-troubleshooting.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Troubleshooting Tab
[2] Fix | Delete
*/
[3] Fix | Delete
?>
[4] Fix | Delete
<div class="ppw_main_container wp_troubleshoot_tab">
[5] Fix | Delete
<table class="ppwp_settings_table" cellpadding="4">
[6] Fix | Delete
<tbody>
[7] Fix | Delete
<tr>
[8] Fix | Delete
<td colspan="2">
[9] Fix | Delete
<div class="ppw-troubleshoot-header">
[10] Fix | Delete
<h3><?php esc_html_e( 'WordPress password protected page not working', PPW_Constants::DOMAIN ); ?></h3>
[11] Fix | Delete
<span><?php esc_html_e( 'Please follow the troubleshooting process below in case the password protection is not working on your website.', PPW_Constants::DOMAIN ); ?></span>
[12] Fix | Delete
</div>
[13] Fix | Delete
</td>
[14] Fix | Delete
</tr>
[15] Fix | Delete
<tr>
[16] Fix | Delete
<td class="feature-input"><span class="feature-input"></span></td>
[17] Fix | Delete
<td>
[18] Fix | Delete
<h2><?php esc_html_e( 'Which types of content do you want to password protect?', PPW_Constants::DOMAIN ); ?></h2>
[19] Fix | Delete
</td>
[20] Fix | Delete
</tr>
[21] Fix | Delete
<tr>
[22] Fix | Delete
<td></td>
[23] Fix | Delete
<td>
[24] Fix | Delete
<div class="ppw-radio-container">
[25] Fix | Delete
<input type="radio" name="level0" value="A" id="A" />
[26] Fix | Delete
<label for="A">Entire site</label>
[27] Fix | Delete
<div class="sub">
[28] Fix | Delete
<p><?php esc_html_e( 'This feature is available on both PPWP Free and Pro versions.', PPW_Constants::DOMAIN ); ?></p>
[29] Fix | Delete
<p><?php esc_html_e( 'Check out ', PPW_Constants::DOMAIN ); ?><a target="_blank" rel="noopener"
[30] Fix | Delete
href="https://passwordprotectwp.com/docs/password-protect-entire-wordpress-site/">
[31] Fix | Delete
<?php esc_html_e( 'Password Protect Entire WordPress Site', PPW_Constants::DOMAIN ); ?></a>
[32] Fix | Delete
<?php esc_html_e( ' for more information.', PPW_Constants::DOMAIN ); ?>
[33] Fix | Delete
</p>
[34] Fix | Delete
</div>
[35] Fix | Delete
</div>
[36] Fix | Delete
<div class="ppw-radio-container">
[37] Fix | Delete
<input type="radio" name="level0" value="B" id="B" />
[38] Fix | Delete
<label for="B"><?php esc_html_e( 'Individual content, e.g. posts and pages', PPW_Constants::DOMAIN ); ?></label>
[39] Fix | Delete
<div class="sub">
[40] Fix | Delete
<h3><?php esc_html_e( 'Which post types do you want to protect?', PPW_Constants::DOMAIN ); ?></h3>
[41] Fix | Delete
<div class="sub-detail">
[42] Fix | Delete
<input type="radio" name="level1" value="B0" id="B0" />
[43] Fix | Delete
<label for="B0">Posts</label>
[44] Fix | Delete
<div class="sub">
[45] Fix | Delete
<p><?php esc_html_e( 'Available on PPWP Free.', PPW_Constants::DOMAIN ); ?></p>
[46] Fix | Delete
</div>
[47] Fix | Delete
</div>
[48] Fix | Delete
<div class="sub-detail">
[49] Fix | Delete
<input type="radio" name="level1" value="" id="CPT" />
[50] Fix | Delete
<label for="CPT">Custom post types</label>
[51] Fix | Delete
<div class="sub">
[52] Fix | Delete
<p><?php esc_html_e( 'Available on PPWP Pro.', PPW_Constants::DOMAIN ); ?></p>
[53] Fix | Delete
<p><?php esc_html_e( 'Check out how to ', PPW_Constants::DOMAIN ); ?><a target="_blank" rel="noopener"
[54] Fix | Delete
href="https://passwordprotectwp.com/docs/password-protect-wordpress-custom-post-types/">
[55] Fix | Delete
<?php esc_html_e( 'Password protect WordPress custom post types', PPW_Constants::DOMAIN ); ?></a>.
[56] Fix | Delete
</p>
[57] Fix | Delete
</div>
[58] Fix | Delete
</div>
[59] Fix | Delete
<div class="sub-detail">
[60] Fix | Delete
<input type="radio" name="level1" value="B3" id="B3" />
[61] Fix | Delete
<label for="B3"><?php esc_html_e( 'Pages or content created by Page builder plugins', PPW_Constants::DOMAIN ); ?></label>
[62] Fix | Delete
<div class="sub">
[63] Fix | Delete
<h3><?php esc_html_e( 'Which template are you using?', PPW_Constants::DOMAIN ); ?></h3>
[64] Fix | Delete
<p style="margin-bottom: 1rem"><?php esc_html_e( 'To determine what template you\'re using, check out selected template under “Page Attributes” section in editor page.', PPW_Constants::DOMAIN ); ?></p>
[65] Fix | Delete
<div class="sub-detail">
[66] Fix | Delete
<input type="radio" name="level3" value="B5" id="B5" />
[67] Fix | Delete
<label for="B5">Custom template</label>
[68] Fix | Delete
<div class="sub">
[69] Fix | Delete
<p><?php esc_html_e( 'WordPress and our plugin’s password protection feature works well with the default
[70] Fix | Delete
WordPress template, making use of the_content(), but not on a custom page template. Check out ', PPW_Constants::DOMAIN ); ?>
[71] Fix | Delete
<a target="_blank" rel="noopener" href="https://passwordprotectwp.com/docs/password-protect-wordpress-custom-page-template/">
[72] Fix | Delete
<?php esc_html_e( 'how to password protect WordPress custom page template', PPW_Constants::DOMAIN ); ?></a>
[73] Fix | Delete
<?php esc_html_e( ' for more information.', PPW_Constants::DOMAIN ); ?>
[74] Fix | Delete
</p>
[75] Fix | Delete
</div>
[76] Fix | Delete
</div>
[77] Fix | Delete
<div class="sub-detail">
[78] Fix | Delete
<input type="radio" name="level3" value="B6" id="B6" />
[79] Fix | Delete
<label for="B6"><?php esc_html_e( 'WordPress default template', PPW_Constants::DOMAIN ); ?></label>
[80] Fix | Delete
<div class="sub">
[81] Fix | Delete
<p><?php esc_html_e( 'It should be working with our PPWP Free version. Otherwise, please ', PPW_Constants::DOMAIN ); ?><a target="_blank" rel="noopener"
[82] Fix | Delete
href="https://passwordprotectwp.com/support/"><?php esc_html_e( 'drop us a support request', PPW_Constants::DOMAIN ); ?></a>.
[83] Fix | Delete
<?php esc_html_e( ' We will be more than happy to help.', PPW_Constants::DOMAIN ); ?>
[84] Fix | Delete
</p>
[85] Fix | Delete
</div>
[86] Fix | Delete
</div>
[87] Fix | Delete
</div>
[88] Fix | Delete
</div>
[89] Fix | Delete
</div>
[90] Fix | Delete
</div>
[91] Fix | Delete
<div class="ppw-radio-container">
[92] Fix | Delete
<input type="radio" name="level0" value="B0" id="ACF" />
[93] Fix | Delete
<label for="ACF"><?php esc_html_e( 'ACF & WordPress custom fields', PPW_Constants::DOMAIN ); ?></label>
[94] Fix | Delete
<div class="sub">
[95] Fix | Delete
<h3><?php esc_html_e( 'How do you want to protect your custom fields content?', PPW_Constants::DOMAIN ); ?></h3>
[96] Fix | Delete
<div class="sub-detail">
[97] Fix | Delete
<input type="radio" name="level1" value="C0" id="C0" />
[98] Fix | Delete
<label for="C0"><?php esc_html_e( 'Hide the entire custom fields under password form', PPW_Constants::DOMAIN ); ?></label>
[99] Fix | Delete
<div class="sub2">
[100] Fix | Delete
<p><?php esc_html_e( 'This feature is available on both PPWP Free and Pro versions.', PPW_Constants::DOMAIN ); ?></p>
[101] Fix | Delete
<p>
[102] Fix | Delete
<?php esc_html_e( 'By default, WordPress in general and our PPWP plugin in particular only protect
[103] Fix | Delete
a post’s content and excerpt. Their custom field data is not protected. In order
[104] Fix | Delete
to hide custom fields under password form, check out', PPW_Constants::DOMAIN ); ?>
[105] Fix | Delete
<a target="_blank" rel="noopener"
[106] Fix | Delete
href="https://passwordprotectwp.com/docs/password-protect-wordpress-custom-page-template/">
[107] Fix | Delete
<?php esc_html_e( 'Password Protect WordPress Custom Fields', PPW_Constants::DOMAIN ); ?></a><?php esc_html_e( ' for more information.', PPW_Constants::DOMAIN ); ?>
[108] Fix | Delete
</p>
[109] Fix | Delete
</div>
[110] Fix | Delete
</div>
[111] Fix | Delete
<div class="sub-detail">
[112] Fix | Delete
<input type="radio" name="level1" value="C1" id="C1" />
[113] Fix | Delete
<label for="C1"><?php esc_html_e( 'Protect part of custom field content', PPW_Constants::DOMAIN ); ?></label>
[114] Fix | Delete
<div class="sub2">
[115] Fix | Delete
<p><?php esc_html_e( 'This feature is available on PPWP Pro only.', PPW_Constants::DOMAIN ); ?></p>
[116] Fix | Delete
<p><?php esc_html_e( 'You will need to use our shortcode under your custom fields. Check out ', PPW_Constants::DOMAIN ); ?><a target="_blank" rel="noopener"
[117] Fix | Delete
href="https://passwordprotectwp.com/docs/how-to-password-protect-partial-content-custom-fields/">
[118] Fix | Delete
<?php esc_html_e( ' How to Password Protect Partial Content under Custom Fields', PPW_Constants::DOMAIN); ?></a>
[119] Fix | Delete
<?php esc_html_e( ' for more information.', PPW_Constants::DOMAIN ); ?>
[120] Fix | Delete
</p>
[121] Fix | Delete
</div>
[122] Fix | Delete
</div>
[123] Fix | Delete
</div>
[124] Fix | Delete
</div>
[125] Fix | Delete
<div class="ppw-radio-container">
[126] Fix | Delete
<input type="radio" name="level0" value="C" id="C" />
[127] Fix | Delete
<label for="C"><?php esc_html_e( 'Part of content, e.g. some content sections', PPW_Constants::DOMAIN ); ?></label>
[128] Fix | Delete
<div class="sub1">
[129] Fix | Delete
<h3><?php esc_html_e( 'Where do you use our shortcode?', PPW_Constants::DOMAIN ); ?></h3>
[130] Fix | Delete
<div class="sub-detail">
[131] Fix | Delete
<input type="radio" name="level1" value="C0" id="PC0" />
[132] Fix | Delete
<label for="PC0">Page builders</label>
[133] Fix | Delete
<div class="sub2">
[134] Fix | Delete
<p><?php esc_html_e( 'Our shortcode is supported on top page builders such as Elementor, Beaver Builder
[135] Fix | Delete
and Divi Builder. Check out ', PPW_Constants::DOMAIN ); ?><a target="_blank" rel="noopener"
[136] Fix | Delete
href="https://passwordprotectwp.com/docs/protect-partial-content-page-builders/">
[137] Fix | Delete
<?php esc_html_e( 'how to password protect parts of content with WordPress page builders', PPW_Constants::DOMAIN ); ?></a>
[138] Fix | Delete
<?php esc_html_e( ' for more information.', PPW_Constants::DOMAIN ); ?>
[139] Fix | Delete
</p>
[140] Fix | Delete
</div>
[141] Fix | Delete
</div>
[142] Fix | Delete
<div class="sub-detail">
[143] Fix | Delete
<input type="radio" name="level1" value="C1" id="PC1" />
[144] Fix | Delete
<label for="PC1">Custom post types</label>
[145] Fix | Delete
<div class="sub2">
[146] Fix | Delete
<p><?php esc_html_e( 'Available on PPWP Pro.', PPW_Constants::DOMAIN ); ?></p>
[147] Fix | Delete
<p><?php esc_html_e( 'Check this out on how to ', PPW_Constants::DOMAIN ); ?><a target="_blank" rel="noopener"
[148] Fix | Delete
href="https://passwordprotectwp.com/docs/password-protect-wordpress-custom-post-types/">
[149] Fix | Delete
<?php esc_html_e( 'Password protect WordPress custom post types', PPW_Constants::DOMAIN ); ?></a>.
[150] Fix | Delete
</p>
[151] Fix | Delete
</div>
[152] Fix | Delete
</div>
[153] Fix | Delete
<div class="sub-detail">
[154] Fix | Delete
<input type="radio" name="level1" value="C2" id="C2" />
[155] Fix | Delete
<label for="C2"><?php esc_html_e( 'ACF or WordPress custom fields', PPW_Constants::DOMAIN ); ?></label>
[156] Fix | Delete
<div class="sub2">
[157] Fix | Delete
<p><?php esc_html_e( 'Available on PPWP Pro.' ); ?></p>
[158] Fix | Delete
<p><?php esc_html_e( 'In order to place our shortcode under custom fields, check out ', PPW_Constants::DOMAIN ); ?><a target="_blank" rel="noopener"
[159] Fix | Delete
href="https://passwordprotectwp.com/docs/how-to-password-protect-partial-content-custom-fields/">
[160] Fix | Delete
<?php esc_html_e( 'How to Password Protect Partial Content under Custom Fields', PPW_Constants::DOMAIN ); ?></a>
[161] Fix | Delete
<?php esc_html_e( ' for more information.', PPW_Constants::DOMAIN ); ?>
[162] Fix | Delete
</p>
[163] Fix | Delete
</div>
[164] Fix | Delete
</div>
[165] Fix | Delete
</div>
[166] Fix | Delete
</div>
[167] Fix | Delete
</td>
[168] Fix | Delete
</tr>
[169] Fix | Delete
<tr>
[170] Fix | Delete
<td class="feature-input"><span class="feature-input"></span></td>
[171] Fix | Delete
<td>
[172] Fix | Delete
<h2>Checklist</h2>
[173] Fix | Delete
</td>
[174] Fix | Delete
<tr>
[175] Fix | Delete
<td></td>
[176] Fix | Delete
<td>
[177] Fix | Delete
<div class="ppw_troubleshoot_checklist">
[178] Fix | Delete
<ul>
[179] Fix | Delete
<li><?php echo wp_kses_post( __( 'Are you using <strong>the latest version</strong> of both Password Protect WordPress (PPWP) Free and Pro?', PPW_Constants::DOMAIN ) ); ?>
[180] Fix | Delete
</li>
[181] Fix | Delete
<li><?php esc_html_e( 'Are you using any caching methods?', PPW_Constants::DOMAIN ); ?></li>
[182] Fix | Delete
<li style="list-style: none"><?php esc_html_e( 'By default, both our Free and Pro versions ', PPW_Constants::DOMAIN ); ?>
[183] Fix | Delete
<a target="_blank" rel="noopener" href="https://passwordprotectwp.com/docs/caching-plugins-cache-servers-integration/?utm_source=user-website&utm_medium=settings-troubleshooting-tab&utm_campaign=ppwp-free">
[184] Fix | Delete
<?php esc_html_e( 'work well with popular cache plugins', PPW_Constants::DOMAIN ); ?></a>,
[185] Fix | Delete
<?php esc_html_e( 'including W3 Total Cache, WP Super Cache, and WP Fastest Cache.
[186] Fix | Delete
If you are using other cache plugins or server caching, please exclude our plugins
[187] Fix | Delete
cookies from being cached or ' ) ?><a target="_blank" rel="noopener" href="https://passwordprotectwp.com/support/?utm_source=user-website&utm_medium=settings-troubleshooting-tab&utm_campaign=ppwp-free">
[188] Fix | Delete
<?php esc_html_e( 'contact us for support', PPW_Constants::DOMAIN ); ?></a>.
[189] Fix | Delete
</li>
[190] Fix | Delete
</ul>
[191] Fix | Delete
</div>
[192] Fix | Delete
</td>
[193] Fix | Delete
</tr>
[194] Fix | Delete
<tr>
[195] Fix | Delete
<td class="feature-input"><span class="feature-input"></span></td>
[196] Fix | Delete
<td>
[197] Fix | Delete
<h2><?php esc_html_e( 'Other Questions', PPW_Constants::DOMAIN ); ?></h2>
[198] Fix | Delete
</td>
[199] Fix | Delete
</tr>
[200] Fix | Delete
<tr>
[201] Fix | Delete
<td></td>
[202] Fix | Delete
<td>
[203] Fix | Delete
<div class="ppw-collapse-question">
[204] Fix | Delete
<div class="ppw-collapse-title">
[205] Fix | Delete
<?php esc_html_e( 'What if I want to show excerpts & featured images of protected content?' , PPW_Constants::DOMAIN ); ?>
[206] Fix | Delete
</div>
[207] Fix | Delete
<div class="ppw-collapse-content">
[208] Fix | Delete
<p><?php esc_html_e( 'Available on PPWP Pro. You will need to modfiy your child theme code with our Free version.', PPW_Constants::DOMAIN ); ?>
[209] Fix | Delete
</p>
[210] Fix | Delete
<p><?php esc_html_e( 'Most of WordPress themes will hide the post excerpt and featured image of password protected content by default. Check out ', PPW_Constants::DOMAIN ); ?>
[211] Fix | Delete
<a target="_blank" rel="noopener"
[212] Fix | Delete
href="https://passwordprotectwp.com/docs/display-featured-image-password-protected-excerpt/">
[213] Fix | Delete
<?php esc_html_e( 'how to show exceprt and featured image of password protected content', PPW_Constants::DOMAIN ); ?></a>.
[214] Fix | Delete
</p>
[215] Fix | Delete
</div>
[216] Fix | Delete
</div>
[217] Fix | Delete
</td>
[218] Fix | Delete
</tr>
[219] Fix | Delete
</tbody>
[220] Fix | Delete
</table>
[221] Fix | Delete
</div>
[222] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function