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/column
File: view-ppw-column.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Password Protected Service
[2] Fix | Delete
*/
[3] Fix | Delete
$service = new PPW_Password_Services();
[4] Fix | Delete
$is_protected = $service->is_protected_content( $post_id );
[5] Fix | Delete
$icon_class = $is_protected ? 'dashicons-lock' : 'dashicons-unlock';
[6] Fix | Delete
$color_class = $is_protected ? 'ppw_protected_color' : 'ppw_unprotected_color';
[7] Fix | Delete
$status = $is_protected ? 'protected' : 'unprotected';
[8] Fix | Delete
$post = get_post( $post_id );
[9] Fix | Delete
?>
[10] Fix | Delete
[11] Fix | Delete
<div class="ppw-column">
[12] Fix | Delete
<span id="ppw-badge-protection_<?php echo esc_attr( $post_id ); ?>"
[13] Fix | Delete
class="ppw-badge-protection <?php echo esc_attr( $color_class ); ?>">
[14] Fix | Delete
<i class="dashicons <?php echo esc_attr( $icon_class ); ?>"></i> <?php echo esc_html( $status, PPW_Constants::DOMAIN ); ?>
[15] Fix | Delete
</span>
[16] Fix | Delete
</div>
[17] Fix | Delete
[18] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function