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/services
File: class-ppw-migrations.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Created by PhpStorm.
[2] Fix | Delete
* User: gaupoit
[3] Fix | Delete
* Date: 7/31/19
[4] Fix | Delete
* Time: 14:57
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
[8] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[9] Fix | Delete
exit; // Exit if accessed directly
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
if ( ! class_exists( 'PPW_Default_PW_Migrations' ) ) {
[13] Fix | Delete
class PPW_Default_PW_Migrations {
[14] Fix | Delete
[15] Fix | Delete
public static function migrate_v_2_6_0() {
[16] Fix | Delete
error_log( 'Migrate Default Password' );
[17] Fix | Delete
$free_service = new PPW_Password_Services();
[18] Fix | Delete
$free_service->migrate_default_password();
[19] Fix | Delete
PPW_Options_Services::get_instance()->add_flag( PPW_Constants::MIGRATED_DEFAULT_PW );
[20] Fix | Delete
error_log( 'Migrated OK' );
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
}
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function