Error: Warning: "continue" targeting switch is equivalent to "break".
-
I suddenly get this error. My PHP-version is 7.2.29.
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-content/plugins/qtranslate-x/qtranslate_frontend.php on line 497 Warning: Parameter 2 to qtranxf_excludeUntranslatedPosts() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287 Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287 Warning: Parameter 2 to qtranxf_excludeUntranslatedPosts() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287 Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287 Warning: Parameter 2 to qtranxf_excludeUntranslatedPosts() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287 Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287 Warning: Parameter 2 to qtranxf_excludeUntranslatedPosts() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287 Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /var/www/vhosts/82/281459/webspace/httpdocs/website.nl/wp-includes/class-wp-hook.php on line 287
-
Dear @handjes
Could you please post a link to your website :)
Judging on initial look "Qtranslate" is popping up a lot - does de-activate temporarily Qtranslate solve the issue?Then we know its an isolated problem.
Best wishes and have a wonderful day :)
Richard
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it