Jump to content

Fatal Error assistance required


1sweetman

Recommended Posts

Hi

If I set Products > Pagination > Products per page to say 200 all 200 items are displayed and will load when I visit the product pages individually.

If however I change it to say 100 and have 2 pages - everything on page 1 displays and works, but everything on page 2 displays ok but is now a Fatal Error when I try to visit the individual product page.

The only work around i have is to have a stupidly high Products on Page setting.

I put it in debug mode and I get this error message

[PrestaShopException]

Fatal error
at line 1182 in file classes/Tools.php

1177.                 ->getTranslator()
1178.                 ->trans('Fatal error', [], 'Admin.Notifications.Error');
1179.         }
1180.
1181.         if (_PS_MODE_DEV_) {
1182.             throw new PrestaShopException($errorMessage);
1183.         }
1184.
1185.         return $errorMessage;
1186.     }
1187.

    ToolsCore::displayError - [line 3612 - classes/Product.php]
    ProductCore::getPriceStatic - [line 214 - classes/Link.php]
    LinkCore->getProductLink - [line 228 - controllers/front/ProductController.php]
    ProductControllerCore->init - [line 35 - override/controllers/front/ProductController.php]
    ProductController->init - [line 287 - classes/controller/Controller.php]
    ControllerCore->run - [line 525 - classes/Dispatcher.php]
    DispatcherCore->dispatch - [line 28 - index.php]

I have tried clearing var/cache/dev but to no avail.

 

I am fully updated to 1.7.8.8 and use the basic theme

Does anyone have any ideas?

 

Thanks in advance

Link to comment
Share on other sites

Hi,

I've never set one up - don't know how - so I have to assume that it has been done by a module instead...& after you pointed me in right direct it was.

Disabled it and voila all started working again.

 

Thanks for assistance.

 

 

 

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