Jump to content

Recommended Posts

Amigos!
Necesito de su ayuda y experiencia.

En mi Prestashop versión 1.7.7.5, tengo el siguiente error en modo debug:

Quote

 

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/vhosts/reballing.store/httpdocs/override/classes/Cart.php', 0, array('className' => 'Cart', 'classDir' => '/var/www/vhosts/reballing.store/httpdocs/'))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

 

Noto que en ocasiones el precio en el historial de pedidos se pone en "0" y los correos llegan sin la información.

Quedo atento a us comentarios.

Gracias!

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Modifica esta línea:

public function getProducts($refresh = false, $id_product = false, $id_country = null, $fullInfo = true, bool $keepOrderPrices = false)

Aunque tendrías que ponerte en contacto con el desarrollador del módulo para que te envíe una versión del módulo compatible con tu versión de PS.

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