Support » Plugin: Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin » PHP Notice: Undefined index: HTTP_REFERER […]/advanced-gutenberg-main.php:1287

  • Resolved strarsis

    (@strarsis)


    In the server error logs the following entry accumulates:
    PHP Notice: Undefined index: HTTP_REFERER in [...]/plugins/advanced-gutenberg/incl/advanced-gutenberg-main.php on line 1287" while reading response header from upstream

    The HTTP_REFERER array key is not guaranteed to be set, hence its presence must be checked before trying to get its value in order to prevent these PHP notices.

    • This topic was modified 5 months ago by strarsis.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.