PHP 5.4 Error

Fashion and clothing responsive Joomla ecommerce template with full VirtueMart support and advanced store features.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Sep 19, 2014 10:24 pm
Reply with quote
Report this post
Hello,

Just had to upgrade to PHP 5.4, and I'm now getting the following error with the products highlighted on the homepage...

Code: Select all
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /homepages/35/d392548829/htdocs/brsos/libraries/joomla/filter/input.php on line 652


Seems that the /e modifier is no longer supported in PHP 5.4 upwards. Could somebody advise either the change(s) to the code required and where, or I'm happy for some advice on how to exclude the reporting of this error... but it would need to be via .htaccess as I can't edit my php.ini file.

Thanks!
User avatar
Fresh Boarder

GK User
Sat Sep 20, 2014 8:40 pm
Reply with quote
Report this post
Hi,
this is not template or Quickstart issue,
I saw this topic is current since one year ago, you should check solutions on official Joomla forum, please.
User avatar
Platinum Boarder

GK User
Tue Sep 23, 2014 10:57 am
Reply with quote
Report this post
It was a template issue in the end... template.php was overriding php.ini settings and causing depreciated errors to show.

This topic shows the fix:

https://www.gavick.com/forums/appsprote ... 18949.html
User avatar
Fresh Boarder

GK User
Tue Sep 23, 2014 2:41 pm
Reply with quote
Report this post
Upsss , I used this template in 2 of my private projects without any changes.
Maybe your server settings have very strictly rules.

:idea: If you told me it's about "Strict Standards" before I would send you this link: https://www.gavick.com/documentation/un ... ic-method/
I thought it was different problem. Have a nice day.
User avatar
Platinum Boarder


cron