Post by rahulrakesh » Fri Jun 01, 2018 4:06 am

Have not made any changes to the cart recently and it suddenly stopped working with the following error

Code: Select all

Parse error: syntax error, unexpected ';' in /home/greendecore/storage/modification/system/library/cart/cart.php(420) : eval()'d code on line 1

https://www.greendecore.com/
Any help on troubleshooting or fixing the issue is greatly appreciated.


Also the error logs are full of these errors

Code: Select all

2018-05-31 18:11:47 - PHP Notice:  A non well formed numeric value encountered in /home/greendecore/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 131

Newbie

Posts

Joined
Sat Nov 25, 2017 12:38 pm

Post by sw!tch » Fri Jun 01, 2018 4:59 am

Well looks like you have a modification that modified the cart in some way. Try disabling the modification/extension and contact the developer of it.

Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by paulfeakins » Fri Jun 01, 2018 6:03 pm

eval() is the hallmark of a hack. I suggest you urgently get a competent developer to look in to this, perhaps from the Commercial Support Forum.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by IP_CAM » Fri Jun 01, 2018 8:12 pm

A non well formed numeric value encountered in ....
Well, I had this Warning yesterday, trying to play around with PHP v.7.2.x.
After switching back to PHP 7.1.x, it was gone...
Just to have it mentioned.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 29 guests