Title: Undefined index: HTTP_REFERER
Last modified: March 8, 2018

---

# Undefined index: HTTP_REFERER

 *  Resolved [AnaBelenRoMar](https://wordpress.org/support/users/anabelenromar/)
 * (@anabelenromar)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/)
 * I have this mistake in the modal windows:
    “Notice: Undefined index: HTTP_REFERER
   in …\wpstudio-login-modal-box\inc\glmb-frontend.php on line 35” when i call to
   this plugin by sort code from php.
 * please, could you help me?
 * I have the Genesis login modal box v: 1.2.2
    & Genesis v: 2.6.0

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Frank Schrijvers](https://wordpress.org/support/users/frankschrijvers/)
 * (@frankschrijvers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10057799)
 * I cannot reproduce the issue you have. Can you provide me some more information?
   For example which browser you use, does this Notice show in every browser? the
   fastest way to contact me is to send me an e-mail through the form on my website.
 * The easiest way for the moment is to disable the PHP error reporting on your 
   hosting account. You can ask you hosting provider about this.
 *  Thread Starter [AnaBelenRoMar](https://wordpress.org/support/users/anabelenromar/)
 * (@anabelenromar)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10060395)
 * Hi Frank,
 * The code in my theme is: do_shortcode(‘[wps_login]LOGIN MODAL[/wps_login]’)
 * I tested it in:
    Windows: Google Chrome: Versión 64.0.3282.186 (Build oficial)(
   64 bits) Internet Explorer : version: 11.0.9600.18816 Firerox Quantum: 58.0.2(
   64-bit) Android: Google Chrome,
 * And the mistake is the same:
 * Sign in to your account
    Notice: Undefined index: HTTP_REFERER in /home/spaceint/
   public_html/lilouli.com/ab-plagins/wpstudio-login-modal-box/inc/glmb-frontend.
   php on line 35
 * Tell me if you need something more.
 *  Thread Starter [AnaBelenRoMar](https://wordpress.org/support/users/anabelenromar/)
 * (@anabelenromar)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10060437)
 * I have more information, the mistake is when
    “Page After Login” or “Page After
   Logout” is not empty.
 * If “Page After Login” and “Page After Logout” are both empty, there is no mistake.
 *  Thread Starter [AnaBelenRoMar](https://wordpress.org/support/users/anabelenromar/)
 * (@anabelenromar)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10123457)
 * Hi Frank, I have the solution… It is a simple if in your code. 🙂
 * The error is when the “HTTP_REFERER” value is not definined. If you want to reproduced
   it, you need to open a new tab clean and put the url to want to login.
 * Please tell me if you have any problem.
 * Thks.
 *  [DavidPeralvarez](https://wordpress.org/support/users/davidperalvarez/)
 * (@davidperalvarez)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10243876)
 * Same problem here. Ana, did you find the solution? In my case it’s kind of random.
   And I’m using Local By Flywheel environment.
 * Thanks a lot in advanced!
    -  This reply was modified 8 years, 1 month ago by [DavidPeralvarez](https://wordpress.org/support/users/davidperalvarez/).
 *  Thread Starter [AnaBelenRoMar](https://wordpress.org/support/users/anabelenromar/)
 * (@anabelenromar)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10246876)
 * Hi David,
    Yes, i finded the solution and reported it to Frank in a ticket in
   his web. He answered to me “When I find the time I will have look at this”.
 * The mistake is when you open a new tab clean, put the url of your web, and click
   to login.
    If you want to solve the problem, you only need to disable the PHP
   error reporting, in your wp-config. For this reason, don´t worry, when you are
   in production you will not have this error.
 * I hope I helped you.
 *  [DavidPeralvarez](https://wordpress.org/support/users/davidperalvarez/)
 * (@davidperalvarez)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10246920)
 * Hi again Ana,
 * Ok, great thanks a lot for your answer. Yes, now I have the WP_DEBUG enabled.
   You save my day.
 * Have a nice day!
 *  Plugin Author [Frank Schrijvers](https://wordpress.org/support/users/frankschrijvers/)
 * (@frankschrijvers)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10781001)
 * Should be solved with the latest version of the plugin.
 *  [DavidPeralvarez](https://wordpress.org/support/users/davidperalvarez/)
 * (@davidperalvarez)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10781286)
 * Thank you Frank!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Undefined index: HTTP_REFERER’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpstudio-login-modal-box_575c60.svg)
 * [Genesis login modal box](https://wordpress.org/plugins/wpstudio-login-modal-box/)
 * [Support Threads](https://wordpress.org/support/plugin/wpstudio-login-modal-box/)
 * [Active Topics](https://wordpress.org/support/plugin/wpstudio-login-modal-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpstudio-login-modal-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpstudio-login-modal-box/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [DavidPeralvarez](https://wordpress.org/support/users/davidperalvarez/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/undefined-index-http_referer-3/#post-10781286)
 * Status: resolved