Title: PHP-Update: continue (2)-issue
Last modified: July 18, 2019

---

# PHP-Update: continue (2)-issue

 *  [mottenkiller](https://wordpress.org/support/users/mottenkiller/)
 * (@mottenkiller)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-update-continue-2-issue/)
 * Hi,
 * there is an issue with landing-page caused by PHP Update:
 * This issue causes a warning on top of my website:
 * `Warning: "continue" targeting switch is equivalent to "break". Did you mean 
   to use "continue 2"? in /.../wp-content/plugins/landing-pages/classes/class.settings.
   php on line 755`
 * Also there is no chance to log into wp-admin, because the warning is parsed before
   headers are set.
 * As a workaround I changed `continue` in class.settings.php:755 to `continue 2`.
   
   Would `break` be better in this case? But next update will cause the same problem,
   while class.settings.php will be overwritten by it.
 * This should be maintained soon…
    How to report this bug?
 * thanks!
    mottenkiller
    -  This topic was modified 6 years, 10 months ago by [mottenkiller](https://wordpress.org/support/users/mottenkiller/).

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

 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-update-continue-2-issue/#post-12044262)
 * The issue appears to be a backward incompatibility with PHP 7.3 for the “continue”
   keyword in Switch statements. Check out the “Continue Targeting Switch issues
   Warning” section in Backward Incompatible Changes.([https://www.php.net/manual/en/migration73.incompatible.php](https://www.php.net/manual/en/migration73.incompatible.php))
 * I did the same and no, don’t want break even though in PHP 7.0 and higher, a 
   break statement is no longer permitted outside a for, foreach or switch statement
   and gives a fatal error. (Switch results in warning)
 * Anyone running PHP7.3 will experience this until they correct their code to be
   compatible moving forward.
 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-update-continue-2-issue/#post-12044481)
 * Also found this: [https://make.wordpress.org/core/2018/10/15/wordpress-and-php-7-3/](https://make.wordpress.org/core/2018/10/15/wordpress-and-php-7-3/)
 *  Plugin Author [Hudson Atwell](https://wordpress.org/support/users/adbox/)
 * (@adbox)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-update-continue-2-issue/#post-12051418)
 * Hi [@pingram3541](https://wordpress.org/support/users/pingram3541/) [@mottenkiller](https://wordpress.org/support/users/mottenkiller/)
 * Thank you two so much for the heads up. I’m implementing `continue 2;` now. 2.7.9
 * Although I’m not actively developing this tool anymore, I do try and fix it when
   it needs it. Please contact me via Twitter [@atwellpub](https://wordpress.org/support/users/atwellpub/)
   or Hudson Atwell @ LinkedIn whenever you see bugs like this in the future.
 * I do want to rebuild this, I just have a full time job now with Codeable.io so
   I hardly ever have any dev hours… and the Inbound Now suite is gigantic… too 
   big for just me… and needs to be rebuilt to reflect best understandings learned
   through its lifetime.
 * Happy to network!

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

The topic ‘PHP-Update: continue (2)-issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/landing-pages_88766e.svg)
 * [WordPress Landing Pages](https://wordpress.org/plugins/landing-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/landing-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/landing-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/landing-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/landing-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/landing-pages/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Hudson Atwell](https://wordpress.org/support/users/adbox/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/php-update-continue-2-issue/#post-12051418)
 * Status: not resolved