October 18, 2016
I’ve used a php compatibility plugin by WPEngine to see whether my site is compatible with PHP7, as I want to upgrade the site, and I see a couple of errors with All in One SEO plugin. Could you please help me resolve this, as this is the only issue that prevents me from updating the site to PHP7?
As far as I see the problem is with the video sitemap, however, I don’t have it active and don’t use it at the moment.
The errors are as follows:
FOUND 2 ERRORS AFFECTING 2 LINES
209 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
223 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0