Jump to content

Erreur inconnue du front controller php


Terramoka

Recommended Posts

Bonjour, je fais la customisation de mon thême et certaines de mes pages (dont toutes les pages produits) me renvoie à une erreur php.

ContextErrorException in FrontController.php line 215:Warning: in_array() expects parameter 2 to be array, string given

  1. in FrontController.php line 215
  2. at ErrorHandler->handleError('2', 'in_array() expects parameter 2 to be array, string given', '/homepages/10/d634363663/htdocs/clickandbuilds/PrestaShop/Terramoka/override/classes/controller/FrontController.php', '215', array('accessed_ips' => '', 'restricted_cat' => array('18'), 'products' => '', 'cms_pages' => ''))
  3. at in_array('8', '') in FrontController.php line 215
  4. at FrontController->privateProcess() in FrontController.php line 45
  5. at FrontController->init() in CmsController.php line 63
  6. at CmsControllerCore->init() in Controller.php line 234
  7. at ControllerCore->run() in Dispatcher.php line 428
  8. at DispatcherCore->dispatch() in index.php line 28
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...