Jump to content

ERROR ClassNotFoundException in ps_viewedproduct.php line 269


MFK

Recommended Posts

Hola, a ver si alguien me puede ayudar, por favor.

 

Desde mi página www.borlind.es/tienda no consigo añadir ningún producto al carrito. (Por vista rápida del producto SI puedo añadir, pero sino no)

Y en la descripción de cada producto aparece todo un error muy largo....

ClassNotFoundException in ps_viewedproduct.php line 269: Attempted to load class "ProductListingPresenter" from namespace "PrestaShop\PrestaShop\Adapter\Presenter\Product".
Did you forget a "use" statement for "PrestaShop\PrestaShop\Core\Product\ProductListingPresenter"?

Alguien me pordía ayudar??

Gracias

Link to comment
Share on other sites

Hi I get same error after upgrade module, there is a error on use statement in ps_viewedproduct.php file 

in line 30, just replace :

  use PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter;

by

  use PrestaShop\PrestaShop\Core\Product\ProductListingPresenter;

this have fix problem for me.

 

Have a nice day

 

Fred

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