• Resolved Eric Hepperle

    (@codeslayer2010)


    I just restored a duplicator archive from April 2019 that seemed to install mostly fine, except I’m getting this error:

    Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /home/www/client-final-sealworks.erichepperle.com/wp-content/plugins/essential-grid/includes/item-skin.class.php on line 1306

    Before digging into the code on that page, I have to say this is a known working Duplicator archive. So, the only thing that I can pinpoint that changed is when I set up the subdomain (client-final-sealworks.erichepperle.com) it specifically asked me what version of PHP I wanted to use. I think I selected “just use what the main domain is using” or something similar. Probably PHP 8.

    So, my question is: Is it a known issue already that using the wrong PHP version on restore causes this error?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Eric,

    Thanks for contacting us! Switching PHP versions can definitely generate those types of issues, especially shifting from a PHP 5,7 to a PHP 8 version. For that particular issue, you might be able to update the plugin version if it’s old, if no version update is available then you might also contact the plugin author and let them know about the issue. Since PHP 8 is still pretty new a lot of authors are still working out cross-compatibility bugs.

    Hope that helps~

    Thread Starter Eric Hepperle

    (@codeslayer2010)

    Thanks Cory! Just to update, I switched from PHP 7.4 back to PHP 5.4 as you suggested and tested the site in an incognito browser window. All is working. Marking as solved.

    That’s Good! Thxs for the udpate.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning: “continue” targeting switch is equivalent to “break”’ is closed to new replies.