my provider upgraded PHP and now my website is covert with warnings:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in pivotx/modules/smarty/Smarty_Compiler.class.php on line 270
I use the latest pivotx release 2.3.7
To quickly switch of the warning I put:
error_reporting(error_reporting() & ~E_DEPRECATED);
into my index.php, but this didn't help consequently. I tested with different browsers and computers and still see the warning, at least once, most times after clearing the browser cache.
The warning also appears for other files like lib.php line 4742...
Any ideas why I could not switch of the warning?