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/SmartSli.../Slider/Feature
File: MaintainSession.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Nextend\SmartSlider3\Slider\Feature;
[2] Fix | Delete
[3] Fix | Delete
class MaintainSession {
[4] Fix | Delete
[5] Fix | Delete
private $slider;
[6] Fix | Delete
[7] Fix | Delete
public $isEnabled = 0;
[8] Fix | Delete
[9] Fix | Delete
public function __construct($slider) {
[10] Fix | Delete
[11] Fix | Delete
$this->slider = $slider;
[12] Fix | Delete
[13] Fix | Delete
$this->isEnabled = intval($slider->params->get('maintain-session', 0));
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
public function makeJavaScriptProperties(&$properties) {
[17] Fix | Delete
[18] Fix | Delete
$properties['maintainSession'] = $this->isEnabled;
[19] Fix | Delete
}
[20] Fix | Delete
}
[21] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function