Warning from functions.php "continue" targeting switch is equivalent to "break"

ToWiHe
3 Posts
ToWiHe posted this 20 June 2019

Hi Themler-Team

This warning always is displayed:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\cms\templates\untitled\functions.php on line 201

System environment:
Local Server xampp
Joomla 3.9.8
PHP Version 7.3.2
Themler: v 484

Even when i create a new theme or use the blank_themler_joomla_theme.zip the error message is still displayed.
There are no third-party extensions, plugins or modules installed in Joomla

Any solutions?

Thanks, Tobi

Hi Themler-Team This warning always is displayed: Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\cms\templates\untitled\functions.php on line 201 System environment: Local Server xampp Joomla 3.9.8 PHP Version 7.3.2 Themler: v 484 Even when i create a new theme or use the blank_themler_joomla_theme.zip the error message is still displayed. There are no third-party extensions, plugins or modules installed in Joomla Any solutions? Thanks, Tobi
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 21 June 2019

Hello Tobias,

I will report this issue to the developers, meanwhile you can go to templates\untitled\functions.php via your Joomla admin panel, scroll to line 201 and add replace "continue" with "continue 2".

Gina
Themler Support

Hello Tobias, I will report this issue to the developers, meanwhile you can go to templates\untitled\functions.php via your Joomla admin panel, scroll to line 201 and add replace "continue" with "continue 2". Gina Themler Support
spatschko
1 Posts
spatschko posted this 23 June 2019

Hello dear Themler team,
I have this error too.
What I do not understand, if I had had several customers who made a website with Themler,
would all have this error?
Why do you have access to already finished templates?

thank you and excuse my bad english (google translator) ;-)

Hello dear Themler team, I have this error too. What I do not understand, if I had had several customers who made a website with Themler, would all have this error? Why do you have access to already finished templates? thank you and excuse my bad english (google translator) ;-)
Support Team
Support Team posted this 24 June 2019

This is an issue with php version, so it may appear on several sites.
While our fix is not out yet, you can either fix it manually or disable Warnings in Joomla (this warning doesn't affect any functionality).

Gina
Themler Support

This is an issue with php version, so it may appear on several sites. While our fix is not out yet, you can either fix it manually or [disable Warnings in Joomla][1] (this warning doesn't affect any functionality). Gina Themler Support [1]: https://www.joomshaper.com/forums/how-to-disable-joomla-warnings
ToWiHe
3 Posts
ToWiHe posted this 26 June 2019

Hi Gina

The workaround seems to work.

Thanks.

Greetings from Germany, Tobi

Hi Gina The workaround seems to work. Thanks. Greetings from Germany, Tobi
Yergatian
1 Posts
Yergatian posted this 17 July 2019

Hi Gina,
your suggestion was very helpful!
I got this error message only on offline server over xampp and UwAmp not on that of the Provider.
But now it also works on xampp and UwAmp servers.

Thanks

excuse my bad english too (google translator too) ;-) ;-) ;-)

Hi Gina, your suggestion was very helpful! I got this error message only on offline server over xampp and UwAmp not on that of the Provider. But now it also works on xampp and UwAmp servers. Thanks excuse my bad english too (google translator too) ;-) ;-) ;-)
You must log in or register to leave comments