cosmins75 Posted September 25, 2020 Share Posted September 25, 2020 (edited) Hello! I have a website who don't work anymore, I receive a blank page and if I activate Debug mode I get this error. The problem is in frontend, in /admin works everything. The version is 1.7.2.2. Once I upgraded to the latest version but the same error. I changed Php version with 5.6, 7.0-7.4 but the same. In error_log is nothing but the website make a redirection to /ro/ but I didn't found anything about this redirect in .htaccess. Any idea? Many thanks! Whoops, looks like something went wrong. 1/1FatalThrowableError in ProductAssembler.php line 103:Type error: Argument 1 passed to ProductAssemblerCore::assembleProduct() must be of the type array, boolean given, called in /home/usercpanel/siteulcupricina.ro/modules/laemegamenu/laemegamenu.php on line 403 in ProductAssembler.php line 103 at ProductAssemblerCore->assembleProduct(false) in laemegamenu.php line 403 at LaeMegamenu->renderMenu() in laemegamenu.php line 480 at LaeMegamenu->_prepHook(array('cookie' => object(Cookie), 'cart' => object(Cart))) in laemegamenu.php line 503 at LaeMegamenu->hookdisplayHome(array('cookie' => object(Cookie), 'cart' => object(Cart))) in Staticblock.php line 221 at Staticblock::renderModuleByHookV15('Home', array('cookie' => object(Cookie), 'cart' => object(Cart)), '56', array('id_hook' => '8', 'module' => 'laemegamenu', 'id_module' => '56'), '0') in Staticblock.php line 131 at Staticblock->getModuleAssign('laemegamenu', 'displayHome') in Staticblock.php line 87 at Staticblock->getStaticblockLists('1', 'blockHeaderBottom') in laestaticblocks.php line 243 at laestaticblocks->hookBlockHeaderBottom(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '7')) in laestaticblocks.php line 179 at laestaticblocks->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '7')) in Hook.php line 895 at HookCore::coreCallHook(object(laestaticblocks), 'hookdisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '7')) in Hook.php line 327 at HookCore::callHookOn(object(laestaticblocks), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '7')) in Hook.php line 843 at HookCore::exec('displayHeader') in FrontController.php line 533 at FrontControllerCore->initContent() in IndexController.php line 37 at IndexControllerCore->initContent() in Controller.php line 205 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Edited September 25, 2020 by cosmins75 (see edit history) Link to comment Share on other sites More sharing options...
Inform-All Posted September 25, 2020 Share Posted September 25, 2020 Hi, If you use Prestashop1.7.2 use PHP 7.0 or PHP 7.1 but not higher! (see docs) And according to your error, disable (or update if available) the module "laemegamenu". Link to comment Share on other sites More sharing options...
musicmaster Posted September 25, 2020 Share Posted September 25, 2020 Inform-All addressed the main issues. Some additional points: Prestashop redirects to language directories like /ro/ when there is more than one language active. This is not handled by .htaccess but by the php code. Check for laemegamenu the php version requirements. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now