• Resolved AnaBelenRoMar

    (@anabelenromar)


    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

    (@frankschrijvers)

    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

    (@anabelenromar)

    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

    (@anabelenromar)

    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

    (@anabelenromar)

    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.

    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!

    Thread Starter AnaBelenRoMar

    (@anabelenromar)

    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.

    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

    (@frankschrijvers)

    Should be solved with the latest version of the plugin.

    Thank you Frank!

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