Viitali Posted October 21, 2016 Share Posted October 21, 2016 (edited) фронтэнд не грузится, выдаёт такую ошибку Fatal error: 'continue' not in the 'loop' or 'switch' context in .../htdocs/modules/ptsmegamenu/ptsmegamenu.php on line 647[PrestaShop] Fatal error in module file :/homepages/46/d631575941/htdocs/modules/ptsmegamenu/ptsmegamenu.php:'continue' not in the 'loop' or 'switch' context в админке дэбаг еще даёт такое error in line 1595 in .../htdocs/classes/controller/AdminController.php[2] Cannot modify header information - headers already sent by (output started at .../htdocs/modules/erpillicopresta/config/Licence.php:53)Unknow error in line 23 in .../htdocs/modules/ptstestimonials/libs/Params.php[8192] Methods with the same name as their class will not be constructors in a future version of PHP; PtsParams has a deprecated constructor Edited October 24, 2016 by Viitali (see edit history) Link to comment Share on other sites More sharing options...
Viitali Posted October 21, 2016 Author Share Posted October 21, 2016 это модуль шаблона с навигацией. вот так весь и удалить? Link to comment Share on other sites More sharing options...
Viitali Posted October 21, 2016 Author Share Posted October 21, 2016 в админке выкидывает на страницу с ошибкой когда пытаюсь открыть модули. попробую на фтп Link to comment Share on other sites More sharing options...
Viitali Posted October 21, 2016 Author Share Posted October 21, 2016 хорошо. сайт работает но теперь без навигации ) Link to comment Share on other sites More sharing options...
Viitali Posted October 21, 2016 Author Share Posted October 21, 2016 функция с ошибкой public function drawCustomMenuItem($category, $level = 0, $last = false, $item, $lang_id) { if ($level > $this->_show_level) continue; $cateCurrent = $this->getCurrentCategoriesId($lang_id); $categoryObject = new Category(); $html = array(); $blockHtml = ''; $id_shop = (int) Context::getContext()->shop->id; $id = $category; $blockId = sprintf('pts_menu_idcat_%d', $id); $staticBlock = $this->getStaticBlockContent($blockId); $blockIdRight = sprintf('pts_menu_idcat_%d_right', $id); $staticBlockRight = $this->getStaticBlockContent($blockIdRight); // --- Static Block --- $blockHtml = $staticBlock; /* check block right */ $blockHtmlRight = $staticBlockRight; Link to comment Share on other sites More sharing options...
Viitali Posted October 21, 2016 Author Share Posted October 21, 2016 (edited) похоже хостинг поменял php версию на 7.0 может это быть проблемой? UPD. поменял обратно на 5.6 и всё снова работает Edited October 21, 2016 by Viitali (see edit history) Link to comment Share on other sites More sharing options...
wagood Posted October 23, 2016 Share Posted October 23, 2016 return; вместо continue; 1 Link to comment Share on other sites More sharing options...
patrizia@profumeriap Posted February 8, 2017 Share Posted February 8, 2017 (edited) then the problem and the PHP version ... ???? with 7 it does not work ??? but no other domains works all Edited February 8, 2017 by patrizia@profumeriap (see edit history) 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