• Resolved davinian

    (@davinian)


    Hi, great plugin, but I am seeing the flowing errors on the page where the Map is show – any thoughts how to fix?

    Notice: Undefined index: zoom in /httpdocs/wp-content/plugins/map-block-leaflet/map-block-leaflet.php on line 87

    Notice: Undefined index: disableScrollZoom in /httpdocs/wp-content/plugins/map-block-leaflet/map-block-leaflet.php on line 93

    Notice: Undefined variable: output in //httpdocs/wp-content/plugins/map-block-leaflet/map-block-leaflet.php on line 107

    • This topic was modified 5 years ago by davinian.
    • This topic was modified 5 years ago by davinian.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jesús Olazagoitia Blasco

    (@goiblas)

    Thanks, I will check if the variable exists using array_key_exists so it will not show notices

    Thread Starter davinian

    (@davinian)

    @goiblas thank you – I’ll keep an eye out for the next update.

    Regards, David

    bjoluc

    (@bjoluc)

    Great to see you are working on this!
    I just wanted to add that I also get undefined index notices for themeAttribution (line 90), disableScrollZoom (line 93), and align (line 96), as well as an undefined variable notice for output in line 107.

    bjoluc

    (@bjoluc)

    Oh and I noticed it does not store (or load?) the map height. I’m on WordPress 5.2.3.

    Plugin Author Jesús Olazagoitia Blasco

    (@goiblas)

    Fixed in version 1.7.0

    bjoluc

    (@bjoluc)

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Undefined Index and Variable?’ is closed to new replies.