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/clone/wp-conte.../themes/Divi/includes/builder/frontend...
File: i18n.php
<?php
[0] Fix | Delete
// Add strings from i18n directory. Note: We don't handle subdirectories, but we should in the future.
[1] Fix | Delete
$i18n_files = glob( __DIR__ . '/i18n/*.php' );
[2] Fix | Delete
$strings = array();
[3] Fix | Delete
[4] Fix | Delete
foreach ( $i18n_files as $file ) {
[5] Fix | Delete
$filename = basename( $file, '.php' );
[6] Fix | Delete
$key = et_()->camel_case( $filename );
[7] Fix | Delete
$strings[ $key ] = require $file;
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
return $strings;
[11] Fix | Delete
[12] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function