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.../classes/template...
File: class-wpml-twig-template.php
<?php
[0] Fix | Delete
[1] Fix | Delete
use WPML\Core\Twig_Environment;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* @author OnTheGo Systems
[5] Fix | Delete
*/
[6] Fix | Delete
class WPML_Twig_Template implements IWPML_Template_Service {
[7] Fix | Delete
private $twig;
[8] Fix | Delete
[9] Fix | Delete
/**
[10] Fix | Delete
* WPML_Twig_Template constructor.
[11] Fix | Delete
*
[12] Fix | Delete
* @param Twig_Environment $twig
[13] Fix | Delete
*/
[14] Fix | Delete
public function __construct( Twig_Environment $twig ) {
[15] Fix | Delete
$this->twig = $twig;
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
public function show( $model, $template ) {
[19] Fix | Delete
return $this->twig->render( $template, $model );
[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