• Resolved Will Presley

    (@willpresleyev)


    PHP 7.3 will now toss out Warnings reading:

    “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?

    In the case of this plugin, it seems that a simple change on Line 387 of a3-lazy-load/admin/admin-interface.php from ‘continue’ to ‘continue 2’ will get rid of the warning (and likely upcoming error in future PHP versions), and the lazy loading still works as expected (for me).

Viewing 1 replies (of 1 total)
  • Hello,
    I have the same warning in php7.2.
    I use System Cronjob for wp-cron.php. In my Logs i had seen the same warning message.
    I changed it to “continue 2” -> also working.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7.3 Compatibility’ is closed to new replies.