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.../lib/twig/src/Sandbox
File: SecurityNotAllowedPropertyError.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
* This file is part of Twig.
[3] Fix | Delete
*
[4] Fix | Delete
* (c) Fabien Potencier
[5] Fix | Delete
*
[6] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[7] Fix | Delete
* file that was distributed with this source code.
[8] Fix | Delete
*/
[9] Fix | Delete
namespace WPML\Core\Twig\Sandbox;
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Exception thrown when a not allowed class property is used in a template.
[13] Fix | Delete
*
[14] Fix | Delete
* @author Kit Burton-Senior <mail@kitbs.com>
[15] Fix | Delete
*/
[16] Fix | Delete
class SecurityNotAllowedPropertyError extends \WPML\Core\Twig\Sandbox\SecurityError
[17] Fix | Delete
{
[18] Fix | Delete
private $className;
[19] Fix | Delete
private $propertyName;
[20] Fix | Delete
public function __construct($message, $className, $propertyName, $lineno = -1, $filename = null, \Exception $previous = null)
[21] Fix | Delete
{
[22] Fix | Delete
parent::__construct($message, $lineno, $filename, $previous);
[23] Fix | Delete
$this->className = $className;
[24] Fix | Delete
$this->propertyName = $propertyName;
[25] Fix | Delete
}
[26] Fix | Delete
public function getClassName()
[27] Fix | Delete
{
[28] Fix | Delete
return $this->className;
[29] Fix | Delete
}
[30] Fix | Delete
public function getPropertyName()
[31] Fix | Delete
{
[32] Fix | Delete
return $this->propertyName;
[33] Fix | Delete
}
[34] Fix | Delete
}
[35] Fix | Delete
\class_alias('WPML\\Core\\Twig\\Sandbox\\SecurityNotAllowedPropertyError', 'WPML\\Core\\Twig_Sandbox_SecurityNotAllowedPropertyError');
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function