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: Controls.php
<?php
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
namespace Nextend\SmartSlider3\Slider\Feature;
[3] Fix | Delete
[4] Fix | Delete
[5] Fix | Delete
class Controls {
[6] Fix | Delete
[7] Fix | Delete
private $slider;
[8] Fix | Delete
[9] Fix | Delete
private $mousewheel = 0;
[10] Fix | Delete
[11] Fix | Delete
public $drag = 0;
[12] Fix | Delete
[13] Fix | Delete
public $touch = 1;
[14] Fix | Delete
[15] Fix | Delete
public $keyboard = 0;
[16] Fix | Delete
[17] Fix | Delete
public $blockCarouselInteraction = 1;
[18] Fix | Delete
[19] Fix | Delete
public function __construct($slider) {
[20] Fix | Delete
[21] Fix | Delete
$this->slider = $slider;
[22] Fix | Delete
[23] Fix | Delete
$this->mousewheel = intval($slider->params->get('controlsScroll', 0));
[24] Fix | Delete
$this->keyboard = intval($slider->params->get('controlsKeyboard', 1));
[25] Fix | Delete
$this->blockCarouselInteraction = intval($slider->params->get('controlsBlockCarouselInteraction', 1));
[26] Fix | Delete
$this->touch = $slider->params->get('controlsTouch', 'horizontal');
[27] Fix | Delete
if ($slider->getSlidesCount() < 2) {
[28] Fix | Delete
$this->touch = 0;
[29] Fix | Delete
}
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
public function makeJavaScriptProperties(&$properties) {
[33] Fix | Delete
$properties['controls'] = array(
[34] Fix | Delete
'mousewheel' => $this->mousewheel,
[35] Fix | Delete
'touch' => $this->touch,
[36] Fix | Delete
'keyboard' => $this->keyboard,
[37] Fix | Delete
'blockCarouselInteraction' => $this->blockCarouselInteraction
[38] Fix | Delete
);
[39] Fix | Delete
}
[40] Fix | Delete
}
[41] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function