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...
File: SmartSlider3.php
<?php
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
namespace Nextend\SmartSlider3;
[3] Fix | Delete
[4] Fix | Delete
[5] Fix | Delete
use Nextend\Framework\Localization\Localization;
[6] Fix | Delete
use Nextend\Framework\Pattern\GetAssetsPathTrait;
[7] Fix | Delete
use Nextend\Framework\Pattern\SingletonTrait;
[8] Fix | Delete
use Nextend\Framework\Platform\Platform;
[9] Fix | Delete
use Nextend\Framework\Plugin;
[10] Fix | Delete
use Nextend\Nextend;
[11] Fix | Delete
use Nextend\SmartSlider3\Generator\Common\GeneratorCommonLoader;
[12] Fix | Delete
use Nextend\SmartSlider3\Generator\Joomla\GeneratorJoomlaLoader;
[13] Fix | Delete
use Nextend\SmartSlider3\Generator\WordPress\GeneratorWordPressLoader;
[14] Fix | Delete
use Nextend\SmartSlider3\Platform\SmartSlider3Platform;
[15] Fix | Delete
use Nextend\SmartSlider3\Slider\ResponsiveType\Auto\ResponsiveTypeAuto;
[16] Fix | Delete
use Nextend\SmartSlider3\Slider\ResponsiveType\FullWidth\ResponsiveTypeFullWidth;
[17] Fix | Delete
use Nextend\SmartSlider3\Slider\ResponsiveType\ResponsiveTypeFactory;
[18] Fix | Delete
use Nextend\SmartSlider3\Slider\SliderType\Block\SliderTypeBlock;
[19] Fix | Delete
use Nextend\SmartSlider3\Slider\SliderType\Simple\SliderTypeSimple;
[20] Fix | Delete
use Nextend\SmartSlider3\Slider\SliderType\SliderTypeFactory;
[21] Fix | Delete
[22] Fix | Delete
class SmartSlider3 {
[23] Fix | Delete
[24] Fix | Delete
use SingletonTrait, GetAssetsPathTrait;
[25] Fix | Delete
[26] Fix | Delete
protected function init() {
[27] Fix | Delete
[28] Fix | Delete
Platform::getInstance();
[29] Fix | Delete
SmartSlider3Platform::getInstance();
[30] Fix | Delete
[31] Fix | Delete
Localization::loadPluginTextDomain(Nextend::getPath() . '/Languages');
[32] Fix | Delete
[33] Fix | Delete
Storage::getInstance();
[34] Fix | Delete
[35] Fix | Delete
Plugin::addAction('PluggableFactorySliderType', array(
[36] Fix | Delete
$this,
[37] Fix | Delete
'sliderTypes'
[38] Fix | Delete
));
[39] Fix | Delete
[40] Fix | Delete
Plugin::addAction('PluggableFactorySliderResponsiveType', array(
[41] Fix | Delete
$this,
[42] Fix | Delete
'sliderResponsiveTypes'
[43] Fix | Delete
));
[44] Fix | Delete
[45] Fix | Delete
Plugin::addAction('PluggableFactorySliderGenerator', array(
[46] Fix | Delete
$this,
[47] Fix | Delete
'sliderGenerator'
[48] Fix | Delete
));
[49] Fix | Delete
[50] Fix | Delete
[51] Fix | Delete
}
[52] Fix | Delete
[53] Fix | Delete
public function sliderTypes() {
[54] Fix | Delete
SliderTypeFactory::addType(new SliderTypeSimple());
[55] Fix | Delete
SliderTypeFactory::addType(new SliderTypeBlock());
[56] Fix | Delete
}
[57] Fix | Delete
[58] Fix | Delete
public function sliderResponsiveTypes() {
[59] Fix | Delete
ResponsiveTypeFactory::addType(new ResponsiveTypeAuto());
[60] Fix | Delete
ResponsiveTypeFactory::addType(new ResponsiveTypeFullWidth());
[61] Fix | Delete
}
[62] Fix | Delete
[63] Fix | Delete
public function sliderGenerator() {
[64] Fix | Delete
new GeneratorCommonLoader();
[65] Fix | Delete
new GeneratorWordPressLoader();
[66] Fix | Delete
}
[67] Fix | Delete
}
[68] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function