Support

Home Forums WP User Integration WPEngine staging errors: "continue" targeting switch is equivalent to "break"

WPEngine staging errors: "continue" targeting switch is equivalent to "break"

Posted: March 31, 2020 at 12:49 pm

Viewing 2 reply threads


Chacour Koop

March 31, 2020 at 12:49 pm

Hello! We have an EE3 Business License and are running:

  1. Version 3.1.37.17.P of Event Espresso
  2. WordPress Version 5.3.2

On the homepage of our WPEngine staging site (and in the login to the admin staging site), we see these error messages:

  • Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /nas/content/staging/travois/wp-content/plugins/espresso-api-pr/includes/helpers/EspressoAPI_Validator.class.php on line 244
  • Error repeated for lines: 257, 263, 269, 275 and 281.

Screenshot of issue here

Back in February, we were having issues with our shopping cart. You helped us by resetting our key, and we moved it from our staging site to our live site. Could these errors may be related to that?

I’d like to find out if we need to fix or disregard. Thank you very much!


Chacour Koop

March 31, 2020 at 12:52 pm

Link to site: https://travois.com/


Josh

  • Support Staff

March 31, 2020 at 12:55 pm

The warnings (to be clear, they are warnings, not errors) are not related to anything happening in the cart.

Are you even using the espresso-api-pr plugin? If so you can deactivate it on your site.

Viewing 2 reply threads

The support post ‘WPEngine staging errors: "continue" targeting switch is equivalent to "break"’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso