Support » Plugin: Fast Velocity Minify » PHP Notice: Undefined variable: header

  • Resolved WEBHAUS

    (@webhaus)


    Hello,

    Started to get this error on my website:

    [02-Dec-2018 21:39:44 UTC] PHP Notice: Undefined variable: header in /var/www/clients/client43/web71/web/wp-content/plugins/fast-velocity-minify/fvm.php on line 2093

    PHP Version: 7.2.5
    WordPress Version: 4.9.8
    W3 Total Cache installed

    Since I don’t want to go into deeper inspection, I added a quick fix, right before line 2093:

    # register and enqueue minified file, consider excluding of mediatype "print" and inline css
    		$header[$i]['media'] = isset($header) && isset($header[$i]) && isset($header[$i]['media']) ? $header[$i]['media'] : '';

    Please investigate this error further. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    That one has been fixed on 2.4.3, thanks for reporting!

    Thread Starter WEBHAUS

    (@webhaus)

    Wow! I’ve never seen that someone would solve bugs this fast for WordPress plugins. Usually it takes weeks for others. Thank you for the hard work you do! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notice: Undefined variable: header’ is closed to new replies.