• Hi rocket support!

    I have found this error:

    PHP Notice: Undefined variable: lazy_sources in /wp-content/plugins/rocket-lazy-load/src/Dependencies/RocketLazyload/Image.php on line 273

    In the file Image.php, the variable $lazy_sources is defined only if the above preg_match return TRUE.
    By the way, $lazy_sources is undefined if the preg_match return false…

    I suggest to move the define variable above the preg_match to fix it!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined variable: lazy_sources in Image.php on line 273’ is closed to new replies.