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/sitepres.../inc
File: template-constants.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Part of SitePress class definition.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WPML\Core
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
if ( ! defined( 'ICL_LANGUAGE_CODE' ) ) {
[7] Fix | Delete
define( 'ICL_LANGUAGE_CODE', $this->this_lang );
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
$language_details = $this->get_language_details( ICL_LANGUAGE_CODE );
[11] Fix | Delete
[12] Fix | Delete
if ( ! defined( 'ICL_LANGUAGE_NAME' ) ) {
[13] Fix | Delete
$display_name = isset( $language_details['display_name'] ) ? $language_details['display_name'] : null;
[14] Fix | Delete
define( 'ICL_LANGUAGE_NAME', $display_name );
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
if ( ! defined( 'ICL_LANGUAGE_NAME_EN' ) ) {
[18] Fix | Delete
$english_name = isset( $language_details['english_name'] ) ? $language_details['english_name'] : null;
[19] Fix | Delete
define( 'ICL_LANGUAGE_NAME_EN', $english_name );
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function