Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP]Błąd Fatal error: 'continue' not in the 'loop' or 'switch' context in
Ramage19
post 13.04.2017, 09:34:50
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 13.04.2017

Ostrzeżenie: (0%)
-----


Witam
Jestem bardzo słabo obeznany w php, teraz zaktualizowałem serwer php z 5.6 na 7.0 z prestashop 1.6.1.12 i w szablonie mam błąd:

Błąd Fatal error: 'continue' not in the 'loop' or 'switch' context in ścieżka_do_pliku

  1. if ($use_push && !$moduleInstance->allow_push)
  2. continue;
  3. // Check which / if method is callable
  4. $hook_callable = is_callable(array($moduleInstance, 'hook'.$hook_name));
  5. $hook_retro_callable = is_callable(array($moduleInstance, 'hook'.$retro_hook_name));


Po usunięciu continue; sklep działa, jedak nie aktualizuje widgetów. Można te continue jakoś przerobić?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 09:53