• Resolved ChiefWigs1982

    (@chiefwigs1982)


    Hi there,

    Our logs are getting flooded with the following warnings on pretty much every request to the site:

    PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/123456/public_html/wp-content/plugins/woocommerce-shipping-usps/includes/class-wc-shipping-usps.php on line 1330
    PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/123456/public_html/wp-content/plugins/woocommerce-shipping-usps/includes/class-wc-shipping-usps.php on line 1334

    Everything’s up-to-date according to the plugins page (WC 4.7, WC USPS Shipping 4.4.4), so can you please update your plugin to work correctly with PHP 7.4? I think this was also an issue when we had PHP 7.3 active.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WC USPS Shipping – PHP 7.4 – Did you mean to use “continue 2” Warnings’ is closed to new replies.