Php Warning Continue Targeting Switch is Equivalent to Break Did You Mean to Use Continue 2
8 Posts
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.
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
3 Posts
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 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
8 Posts
Hi Gina
The workaround seems to work.
Thanks.
Greetings from Germany, Tobi
Hi Gina The workaround seems to work. Thanks. Greetings from Germany, Tobi
1 Posts
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) ;-) ;-) ;-)
29 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.
2 Posts
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 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
1 Posts
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 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
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
943 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 posted this 10 December 2019
Dave,
Fixed in v496 Beta.
Gina
Themler Support
Dave, Fixed in v496 Beta. Gina Themler Support
34 Posts
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 10 June 2020 by andrewatya
Support Team posted this 11 June 2020
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
1 Posts
Thanks for sharing this!
Thanks for sharing this!
Last edited 23 June 2020 by Support Team
34 Posts
Is themler ready for php verrsion 8?
Is themler ready for php verrsion 8?
Support Team posted this 03 March 2021
Hello,
There is no exact information about compatibility yet. Please feel free to try with your CMS and Themler on some localhost. It is not recommended, to update PHP in Themler desktop.
Sincerely,
Nettie
Hello, There is no exact information about compatibility yet. Please feel free to try with your CMS and Themler on some localhost. It is not recommended, to update PHP in Themler desktop. Sincerely, Nettie
34 Posts
Thanks Nettie,
Regards Ger
Thanks Nettie, Regards Ger
1 Posts
Area52 posted this 03 March 2021
I'm a bit confused
I'm a bit confused
Source: https://answers.themler.io/questions/189125/warning-from-functions-php-continue-targeting-switch-is-equivalent-to-break
0 Response to "Php Warning Continue Targeting Switch is Equivalent to Break Did You Mean to Use Continue 2"
Post a Comment