Jump to content

Warning Declaration of Cart getProducts


Taleeia

Recommended Posts

I recently updated using  1-Click Upgrade from v1.7.6.7 to 1.7.7.2 and i go to edit the Image slider (v3.1.0 - by PrestaShop) It just seems to ignores every change I make. . i am lost why I am unable to remove or add it just shows the 3 photos I originally had .


i tried clearing the cache under advanced>performance    nothing.. 


When i enable debug mode i get this

 (1/1) ContextErrorException

Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfo = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)
in Cart.php
at ErrorHandler->handleError(2, 'Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfo = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)', '/var/www/clients/client1/web2/web/override/classes/Cart.php', 0, array('className' => 'Cart', 'classDir' => '/var/www/clients/client1/web2/web/'))in PrestaShopAutoload.php line 152
at require_once()in PrestaShopAutoload.php line 152
at PrestaShopAutoload->load('Cart')in DebugClassLoader.php line 159
at DebugClassLoader->loadClass('Cart')
at spl_autoload_call('Cart')in FrontController.php line 416
at FrontControllerCore->init()in Controller.php line 287
at ControllerCore->run()in Dispatcher.php line 518
at DispatcherCore->dispatch()in index.php line 28


Issue has been posted https://github.com/PrestaShop/PrestaShop/issues/23440
is there a workaround or a fix?

anyone having this issue?

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

  • Taleeia changed the title to Warning Declaration of Cart getProducts

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...