( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Issue Summary

( ! ) Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    This is my first site imported with Local. I downloaded a copy from WP-Migrate and it gives this warning for several files within the Gravity Forms plugin

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    No, I get the error: too many positional arguments eight

Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Which version of Local is being used?
    6.6.1+6281

  • What Operating System (OS) and OS version is being used?

    • For example: macOS Catalina or Windows 10 Professional
      Windows 10 Home
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

It would seem that you’re using an old version of Gravity Forms that isn’t compatible with the version of PHP that the site is using. Updating Gravity Forms should resolve the issue.

Ahhh yes. That’ll do it. Thanks!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.