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.../public_h.../wp-conte.../plugins/smart-sl.../Nextend/SmartSli.../Parser/Link
File: ToSlide.php
<?php
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
namespace Nextend\SmartSlider3\Parser\Link;
[3] Fix | Delete
[4] Fix | Delete
[5] Fix | Delete
use Nextend\Framework\Parser\Link\ParserInterface;
[6] Fix | Delete
[7] Fix | Delete
class ToSlide implements ParserInterface {
[8] Fix | Delete
[9] Fix | Delete
public function parse($argument, &$attributes) {
[10] Fix | Delete
[11] Fix | Delete
preg_match('/([0-9]+)(,([0-1]))?/', $argument, $matches);
[12] Fix | Delete
if (!isset($matches[3])) {
[13] Fix | Delete
$attributes['role'] = 'button';
[14] Fix | Delete
[15] Fix | Delete
$attributes['onclick'] = "n2ss.applyActionWithClick(event, 'slide', " . (intval($matches[1]) - 1) . ");";
[16] Fix | Delete
} else {
[17] Fix | Delete
$attributes['onclick'] = "n2ss.applyActionWithClick(event, 'slide', " . (intval($matches[1]) - 1) . ", " . intval($matches[3]) . ");";
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
return '#';
[21] Fix | Delete
}
[22] Fix | Delete
}
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function