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


Eden Rensing

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!


Eden Rensing

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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Status: publish

Updated by  Josh 1 month, 3 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!