• Resolved spabav

    (@spabav)


    Hi there,

    when we run our WP in debug “true”, the wp-forecast plugin generates a list of about 10 similar error messages on every page:

    Notice: Undefined index: visitorlocation in /…/public_html/wp-content/plugins/wp-forecast/wp-forecast.php on line 120

    Notice: Undefined index: visitorlocation in /…/public_html/wp-content/plugins/wp-forecast/wp-forecast.php on line 120

    Notice: Undefined index: visitorlocation in /…/public_html/wp-content/plugins/wp-forecast/wp-forecast.php on line 120

    We are running PHP 7.2. and Version 6.1 of the wp-forecast plugin.

    would be great if anybody could help us with this.

    Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author tuxlog

    (@tuxlog)

    Hello spadav,

    thank you very much for this information. I will have a look at it with the next release.

    A PHP Notice is not an error it is just a “notice”. You may read this in the PHP manual:

    Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script.

    You shouldn’t have any problems with the plugin due to this notices.

    Thread Starter spabav

    (@spabav)

    Thank you Tuxlog. That clarifies it.

    Would be great if you could fix this regardless since it fills up our PHP error log for the site every time anybody hits our page.

    Thanks for your help in advance.

    Same here! Makes a little bit difficult to read the debug.
    It triggers really too much time.
    Thanks

    Plugin Author tuxlog

    (@tuxlog)

    I just released v6.2 which should fix this

    Unfortunately not fixed…

    Notice: Undefined index: visitorlocation in …/wp-content/plugins/wp-forecast/wp-forecast-show.php on line 222

    Notice: Undefined index: visitorlocation in …/wp-content/plugins/wp-forecast/wp-forecast.php on line 119

    Maybe you should give the option not to use the “visitorlocation”… Just the given location? That will stop this Notices, no?

    Plugin Author tuxlog

    (@tuxlog)

    Thanks, yes, I saw there are still a few more notices to fix and will put it into the next release.

    Hello!

    I’ve got it here:
    Undefined index: visitorlocation in …/wp-content/plugins/wp-forecast/wp-forecast.php on line 120

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Undefined index: visitorlocation in Plugin WP Forecast’ is closed to new replies.