Support » Plugin: W3 Total Cache » Undefined index: HTTP_REFERER

  • Resolved Blamedutchie

    (@blamedutchie)


    PHP Notice: Undefined index: HTTP_REFERER in /../wp-content/plugins/w3-total-cache/Generic_AdminActions_Flush.php on line 24

    The way I understand it, the user-agent either sends this or not… In your code there is no check, so when user-agent doesn’t send it throws an error. Maybe build in a check?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,

    Thank you for bringing this to our attention.
    It appears that sometimes referrer is not sent.
    You need to keep it enabled to make this functionality work.
    This is now recognized as a bug and it will be fixed in future releases.
    Once again thank you for bringing this to our attention

    My pleasure, @vmarko

    Together we stand stronger 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index: HTTP_REFERER’ is closed to new replies.