: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Asset;
use Joomla\CMS\HTML\HTMLHelper;
use Nextend\Framework\Asset\Css\Css;
use Nextend\Framework\Asset\Fonts\Google\Google;
use Nextend\Framework\Asset\Js\Js;
use Nextend\Framework\Font\FontSources;
use Nextend\Framework\Form\Form;
use Nextend\Framework\Platform\Platform;
use Nextend\Framework\Plugin;
use Nextend\Framework\ResourceTranslator\ResourceTranslator;
use Nextend\SmartSlider3\Application\Frontend\ApplicationTypeFrontend;
use Nextend\SmartSlider3\Settings;
public static function backend($force = false) {
if ($once != null && !$force) {
wp_enqueue_script('jquery');
$jQueryFallback = site_url('wp-includes/js/jquery/jquery.js');
Js::addGlobalInline('_N2._jQueryFallback=\'' . $jQueryFallback . '\';');
Js::addFirstCode("_N2.r(['AjaxHelper'],function(){_N2.AjaxHelper.addAjaxArray(" . json_encode(Form::tokenizeUrl()) . ");});");
Plugin::addAction('afterApplicationContent', array(
'onFontManagerLoadBackend'
public static function frontend($force = false) {
if ($once != null && !$force) {
AssetManager::getInstance();
if (Platform::isAdmin()) {
Js::addGlobalInline('window.N2GSAP=' . N2GSAP . ';');
Js::addGlobalInline('window.N2PLATFORM="' . Platform::getName() . '";');
Js::addGlobalInline('(function(){this._N2=this._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}}}).call(window);');
Js::addStaticGroup(ApplicationTypeFrontend::getAssetsPath() . "/dist/n2.min.js", 'n2');
FontSources::onFontManagerLoad($force);
public static function loadLiteBox() {