Deprecated: preg_replace warnings on live website
Posted: Mon Jan 08, 2018 8:31 pm
Help!
Please could someone tell me what I should do, step by step, I have this warning all over a client website...
Line 270 is
Also in the cms back end I can see
(these are both repeated four times)
and finally:
I did manage to remove some other warnings by uninstalling the seo tools module but now am left with all of these...
Any assistance would be greatly appreciated...
Looking at previous posts I can see I;m supposed to make sure the modules (only the CG Blog says it has missing dependencies so suggest removal, but I have blog posts so not sure what to do with that) and core are updated and there may be a way to edit the php ini but I'm not sure how
Am painfully aware, having logged into the hosting, that the database is out of date as well (needs updating to MySQL 5.5.0) and throwing errors, and am wondering if it has to do with that, too - raised a ticket with hosts as I have no idea how to do this either, sob...
Code: Select all
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/[database name edited]/public_html/lib/smarty/Smarty_Compiler.class.php on line 270
Line 270 is
Code: Select all
, $source_content);
Code: Select all
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/[database name edited]/public_html/lib/classes/class.admintheme.inc.php on line 1625
Code: Select all
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/[database name edited]/public_html/lib/html_entity_decode_utf8.php on line 38
Code: Select all
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/[database name edited]/public_html/lib/html_entity_decode_utf8.php on line 39
and finally:
Code: Select all
Strict Standards: Declaration of SEOTools::DoEvent() should be compatible with CMSModule::DoEvent($originator, $eventname, &$params) in /home/[database name edited]/public_html/modules/SEOTools/SEOTools.module.php on line 824
Any assistance would be greatly appreciated...
Looking at previous posts I can see I;m supposed to make sure the modules (only the CG Blog says it has missing dependencies so suggest removal, but I have blog posts so not sure what to do with that) and core are updated and there may be a way to edit the php ini but I'm not sure how
Am painfully aware, having logged into the hosting, that the database is out of date as well (needs updating to MySQL 5.5.0) and throwing errors, and am wondering if it has to do with that, too - raised a ticket with hosts as I have no idea how to do this either, sob...