• Resolved massimod

    (@massimod)


    Undefined index: HTTP_REFERER in /home/wp-content/plugins/wp-advertize-it/classes/wp-advertize-it.php on line 401

    While this is a notice/warning, i would like to ask what does the HTTP+REFERER has to do with Ads blocks (Adsense in my case) ?

    Disabling the ads also continue to show the notice. Strange.

    Thanks

    https://www.ads-software.com/plugins/wp-advertize-it/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author benohead

    (@benohead)

    There is a setting to disable ads based on the HTTP referrer. This is the reason why I read the HTTP_REFERER. But of course, it’s not intended that a warning is displayed in strict mode. I’ll fix it tonight an push an update.

    Thread Starter massimod

    (@massimod)

    Ok, but why since i have no blocks added (with the widget), the error appears ?

    Strange isn’t it ?

    Plugin Author benohead

    (@benohead)

    The warning should be gone in the new version I’ve uploaded earlier today.

    You get it even though no block is configured because it first checks for rules which disable ads and then checks whether it needs to insert an add in the post.

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