Skip to content
Advertisement

Tag: deprecated

Deprecated: Non-static method AriKernel::init() should not be called statically in

My server team showed me the following error log. Deprecated: Non-static method AriKernel::init() should not be called statically in /home/domain/public_html/modules/mod_ariimageslider/mod_ariimageslider/kernel/class.AriKernel.php on line 103 Line 103 AriKernel::init(); I searched on google but I didn’t find any solution. There is almost 100+ same deprecation error. Any help would be appreciated. Thanks in advance Answer We don’t know your class’ code, however rule

WP-lightbox Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

My plugin wp-lightbox evolution is showing me an error Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead And when I replace that with preg_replace_callback I’m getting an error: Warning: preg_replace_callback(): Requires argument 2, ‘stripslashes(strstr(“13”, “class=”) ? “” : “”)’, to be a valid callback Any Help would be appreciated. Regards Answer preg_replace with the /e modifier used to

Advertisement