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/smart-sl.../Nextend/Framewor.../Translat...
File: Translation.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Nextend\Framework\Translation;
[2] Fix | Delete
[3] Fix | Delete
use Nextend\Framework\Pattern\SingletonTrait;
[4] Fix | Delete
[5] Fix | Delete
class Translation {
[6] Fix | Delete
[7] Fix | Delete
use SingletonTrait;
[8] Fix | Delete
[9] Fix | Delete
/**
[10] Fix | Delete
* @var AbstractTranslation
[11] Fix | Delete
*/
[12] Fix | Delete
private static $platformTranslation;
[13] Fix | Delete
[14] Fix | Delete
public function __construct() {
[15] Fix | Delete
self::$platformTranslation = new WordPress\WordPressTranslation();
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
public static function _($text) {
[19] Fix | Delete
return self::$platformTranslation->_($text);
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
public static function getCurrentLocale() {
[23] Fix | Delete
return self::$platformTranslation->getLocale();
[24] Fix | Delete
}
[25] Fix | Delete
}
[26] Fix | Delete
[27] Fix | Delete
Translation::getInstance();
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function