Warning: Declaration of Cart::addCartRule($id_cart_rule) should be compatible with CartCore::addCartRule($id_cart_rule, bool $useOrderPrices = false) in /data/sites/web/agropesbe/subsites/webshop.agropes.be/override/classes/Cart.php on line 0

Whoops, looks like something went wrong.

(1/1) ContextErrorException

Warning: Declaration of CartRule::autoAddToCart(?Context $context = NULL) should be compatible with CartRuleCore::autoAddToCart(?Context $context = NULL, bool $useOrderPrices = false)

in CartRule.php
at ErrorHandler->handleError(2, 'Declaration of CartRule::autoAddToCart(?Context $context = NULL) should be compatible with CartRuleCore::autoAddToCart(?Context $context = NULL, bool $useOrderPrices = false)', '/data/sites/web/agropesbe/subsites/webshop.agropes.be/override/classes/CartRule.php', 0, array('className' => 'CartRule', 'classDir' => '/data/sites/web/agropesbe/subsites/webshop.agropes.be/'))in PrestaShopAutoload.php line 152
at require_once()in PrestaShopAutoload.php line 152
at PrestaShopAutoload->load('CartRule')in DebugClassLoader.php line 159
at DebugClassLoader->loadClass('CartRule')
at spl_autoload_call('CartRule')in FrontController.php line 433
at FrontControllerCore->init()in CategoryController.php line 16
at CategoryController->init()in Controller.php line 287
at ControllerCore->run()in Dispatcher.php line 518
at DispatcherCore->dispatch()in index.php line 28