Error in functions.php

Fjallis
4 Posts
Fjallis posted this 29 February 2020

Hello,
I've not changed anything in any files directly but since some time a get the following error message on my front page:

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /customers/e/2/9/kolarorden.se/httpd.www/templates/kolarorden_2019/editor/functions.php on line 201

Unfortunately I don't know what to do. I have all the latest versions of Themler and Joomla.

https://kolarorden.se/

Best regards,
Johan

Hello, I've not changed anything in any files directly but since some time a get the following error message on my front page: > Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /customers/e/2/9/kolarorden.se/httpd.www/templates/kolarorden_2019/editor/functions.php on line 201 Unfortunately I don't know what to do. I have all the latest versions of Themler and Joomla. https://kolarorden.se/ Best regards, Johan
Vote to pay developers attention to this features or issue.
2 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 02 March 2020

Hello Johan,

This warning is not critical for the site, you can do one of the following:
1) turn off php warnings in Joomla admin panel (it wouldn't affect any functionality)
2) go to the file mentioned in the error message and add "2" to "continue" manually.
It is a simple change from continue to continue 2. Though any manual edit to the files should be added again after the template is published from Themler.
3) update theme to v499 (this issue should be fixed there, I don't see this error in my Joomla).

Gina
Themler Support

Hello Johan, This warning is not critical for the site, you can do one of the following: 1) turn off php warnings in Joomla admin panel (it wouldn't affect any functionality) 2) go to the file mentioned in the error message and add "2" to "continue" manually. It is a simple change from `continue` to `continue 2`. Though any manual edit to the files should be added again after the template is published from Themler. 3) update theme to v499 (this issue should be fixed there, I don't see this error in my Joomla). Gina Themler Support
Fjallis
4 Posts
Fjallis posted this 02 March 2020

Great! You're the best! Option 3 did the trick. :)

Great! You're the best! Option 3 did the trick. :)
You must log in or register to leave comments