Jump to content

Prestashop 1.7.8.0 | Order page broken in BackOffice


thee_rook

Recommended Posts

See attached text file for stack trace.

CRITICAL20:08:44phpUncaught Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)

CRITICAL20:08:44requestUncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)" at /homepages/43/d293957501/htdocs/MTSACo/override/classes/Cart.php line 211

 

website-error.txt

Edited by thee_rook (see edit history)
Link to comment
Share on other sites

Here is what I still see:

ContextErrorException

HTTP 500 Internal Server Error

Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)

website-error2.txt website-error2_stacktrace.txt

Link to comment
Share on other sites

Find differences betwen override/classes/Cart.php and classes/Cart.php.

There is an error in override/classes/Cart.php on Line 211.

request	Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)" at /homepages/43/d293957501/htdocs/MTSACo/override/classes/Cart.php line 211

Which php version are you running?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...