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

.::Tobias::.
8 Posts
.::Tobias::. 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.
16 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
3 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
.::Tobias::.
8 Posts
.::Tobias::. 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) ;-) ;-) ;-)
heikom
5 Posts
heikom posted this 08 September 2019

scroll to line 201 and add replace "continue" with "continue 2".

I try it with no result.

scroll to line 201 and add replace "continue" with "continue 2". -- I try it with no result.
careygrant521876
3 Posts
careygrant521876 posted this 14 September 2019

Okay, we will disable warnings in joomla. electrician jacksonville fl

Okay, we will disable warnings in joomla. [electrician jacksonville fl][1] [1]: https://www.americanelectricofjacksonville.com/
Support Team
Support Team posted this 16 September 2019

Hello Heiko,

Maybe, there is different file or line mentioned in your warning message.
You can contact us with new private ticket with more details.

Gina
Themler Support

Hello Heiko, Maybe, there is different file or line mentioned in your warning message. You can contact us with new private ticket with more details. Gina Themler Support
nathalieschimdt
1 Posts
nathalieschimdt posted this 24 September 2019

Hi! I was once able to solve mine using these steps: templates\untitled\functions.php via your Joomla admin panel, scroll to line 201 and add replace "continue" with "continue 2"
But then, it happened again. How is that possible? Is there anything that I should need to replace or troubleshoot more? Thanks!
High Risk Merchant account

Hi! I was once able to solve mine using these steps: templates\untitled\functions.php via your Joomla admin panel, scroll to line 201 and add replace "continue" with "continue 2" But then, it happened again. How is that possible? Is there anything that I should need to replace or troubleshoot more? Thanks! [High Risk Merchant account][1] [1]: https://thesoutherninstitute.com/high-risk-merchant-account/
Support Team
Support Team posted this 24 September 2019

This manual change may be overwritten if you update the theme from Themler.

Gina
Themler Support

This manual change may be overwritten if you update the theme from Themler. Gina Themler Support
horeakaii
1 Posts
horeakaii posted this 02 October 2019

Yes, manual change will be overwritten once the update is up.
engagement rings

Yes, manual change will be overwritten once the update is up. [engagement rings][1] [1]: https://www.caparojewelers.com/engagement-rings.html
DaveOzric
918 Posts
DaveOzric posted this 03 December 2019

Hi, can you guys update Themler to make this work with PHP 7.3?

Hi, can you guys update Themler to make this work with PHP 7.3?
Support Team
Support Team posted this 10 December 2019

Dave,
Fixed in v496 Beta.

Gina
Themler Support

Dave, Fixed in v496 Beta. Gina Themler Support
andrewatya
27 Posts
andrewatya posted this 4 weeks ago

Dear Themler Team!
Now I have the same problem.
My site: outdoorteleshop.com
Joomla version: 3.9.19, php version: 7.4.6, Themler version: 499.

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/energofi/public_html/outdoorteleshop.com/templates/outdoorteleshop/functions.php on line 201

So, I did not change anything on my site, only Joomla udate.
How can I solve this problem. I have already updated my Themler on my desktop, after that I exported a new themplate version for my site, uploaded it, but nothing. The same warning.
Now I switched off error riports in Joomla, however the problem is exist.

Thanks in advance.
Regards,
Andras

Dear Themler Team! Now I have the same problem. My site: outdoorteleshop.com Joomla version: 3.9.19, php version: 7.4.6, Themler version: 499. Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/energofi/public_html/outdoorteleshop.com/templates/outdoorteleshop/functions.php on line 201 So, I did not change anything on my site, only Joomla udate. How can I solve this problem. I have already updated my Themler on my desktop, after that I exported a new themplate version for my site, uploaded it, but nothing. The same warning. Now I switched off error riports in Joomla, however the problem is exist. Thanks in advance. Regards, Andras

Last edited 4 weeks ago by andrewatya

Support Team
Support Team posted this 4 weeks ago

Hello Andras,

You can change "break" with "continue 2" manually in the file mentioned in the error message.
Or we can help you with it, create new private ticket with the site credentials.

Gina
Themler Support

Hello Andras, You can change "break" with "continue 2" manually in the file mentioned in the error message. Or we can help you with it, create new private ticket with the site credentials. Gina Themler Support
mikspence1
1 Posts
mikspence1 posted this 2 weeks ago

Thanks for sharing this!

Thanks for sharing this!

Last edited 2 weeks ago by Support Team

You must log in or register to leave comments