Optimize images warning error
Get the following error when initially navigating to Optimize Images. Seems to be an issue in php 7.3 +.
Error clears when refreshing browser.
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /Users/Lucy/Local Sites/subatomic/app/public/wp-content/plugins/brizy/vendor/knplabs/gaufrette/src/Gaufrette/Util/Path.php on line 30
-
Hi,
Can you please resave the Site Address and WordPress address in Settings -> General? Didn't the warning disappear after that?
0 -
Hi, that didn't work. Still get the same warning. However, when I refresh the browser it goes away. But returns upon logging out of admin and logging back in. Multiple installs, different themes, tried without any plugins active except for Brizy.
0 -
Hi John,
sorry for not getting back to you sooner. On weekends, support is limited and usually responds only to fatal errors or other critical issues.
We cannot replicate this on our side and this warning does not appear. I sent a notification to devs and they will check that line of code. I will come back with a message when I have an update from them. In the meantime, please confirm that this warning appears in latest Brizy version - Free 2.0.14 and PRO 2.0.7
0 -
Hi Alex,
No worries, this isn't a major issue for me. I think it might be related to my local development environment. I use Local by Flywheel which seems to be causing other issues as well. I've recently tested Brizy in a live production environment and all issues are resolved.
Issues experienced in Local but resolved in live production environment:
1) issue described here
2) image paths broken in Brizy
3) Brizy adding duplicate DOM object tags <html><head><body> after initial <body> tag element
All of these issues seem only to be happening in Local.
Sorry for the trouble. I should have tested more thoroughly before contacting you. Thanks for getting back to me.
0 -
Hi,
Thank you for your update. This may be useful for other users.
0
Please sign in to leave a comment.
Comments
5 comments