PrestaShop Error Declaration of Cart::getPackageShippingCost

On a PrestaShop site, i get error message

PrestaShop error

To fix this error, edit file

/var/www/vhosts/site.com/httpdocs/override/classes/Cart.php

Find line

Replace with

This is because orderide class have improper function definiation, this may be due to some outdated PrestaShop modules.

See PrestaShop

Leave a Reply

Your email address will not be published. Required fields are marked *