Reputation: 35
I need help b4 my head explodes...
I've tried since yesterday everything I could, but when I connect to my localhost, error 500 jump.. I've tried to debug also, but the error doesn't make any sense.
There's 2 images of errors, with and without the "define('_PS_MODE_DEV_', true)".
Upvotes: 0
Views: 186
Reputation: 4337
I guess you or someone made a custom smarty tag named plugin
and by not following PrestaShop's best practices of using modules and overrides, the custom smarty tag was coded into core files and by updating your shop, custom code went bye bye.
I don't know if that custom tag did something special, because there is a core PrestaShop hook that does the same.
This is how you properly register custom smarty tags.
Replace that code on line 38
{plugin module='ps_searchbar' hook='displayTop'}
with core tag
{hook h='displayTop' mod='ps_searchbar'}
A bit of googling and I found this. If your shop was using it, it's not needed anymore so fix your theme and replace {plugin}
tags with core tags.
Upvotes: 1