• Hi Bjorn,

    I’m seeing lots of PHP notice in debug.log with the following content:
    Undefined index: HTTP_ACCEPT in .../wp-content/plugins/webp-express/lib/classes/AlterHtmlHelper.php on line 218

    Would you please add an isset() check so it doesn’t spam to debug.log.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • same issue for me, started today when i update to php 7.3 in one of my sites. The other that already had was no making errors, but no it does too. Any comments?

    me to have this error.

    Thread Starter SamTyurenkov

    (@samtyurenkov)

    Up. It still spams into log.

    [29-Jan-2021 01:23:04 UTC] PHP Notice: Undefined index: HTTP_ACCEPT in /wp-content/plugins/webp-express/lib/classes/AlterHtmlHelper.php on line 218

    Please just add this line into the method:

    if (array_key_exists('HTTP_ACCEPT',$_SERVER) == false) {
    			return $returnValueOnFail;
    		}
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined index: HTTP_ACCEPT’ is closed to new replies.