Skip Navigation

[Resolved] Geolocation stops working due to notices (bug?)

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by Minesh 4 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2706711

Hi all,
I was working on some geolocated posts and everything was working fine. Then I got the following notices:

Notice: Undefined index: meta_key in /home/xxxxxxxxx/public_html/wp-content/plugins/toolset-maps/application/controllers/compatibility/gutenberg/editor-blocks/blocks/map/MapBlock.php on line 920

Notice: Undefined index: meta_key in /home/xxxxxxxxxxxxx/public_html/wp-content/plugins/toolset-maps/includes/toolset-maps-shortcode-generator.php on line 844

Notice: Undefined index: meta_key in /home/xxxxxxxxxxx/public_html/wp-content/plugins/toolset-maps/includes/toolset-maps-shortcode-generator.php on line 844

and all of a sudden any geolocated posts didn't show anymore. Is there any link ? I keep WP and your plugin always updated. Please let me know.
Kind regards
Nicola

#2706765

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please tell me what is the problem URL and what exactly is not working?

#2706801
notices.png

Hello Minesh,
one page is the Contacts page, but today notices disappeared and everything is back to normal. See picture. What if those notices come back ?
Thanks

#2706840

Hello Minesh,
everything was working fine today so I continued to work on the pages and I found out that sometimes the notices appear when I change/move up/down items in my select custom field Banner page then saving. There are more than 60 items, but I am not sure if it's relevant. Once I saw the notices again I just tried adding another item and they disappeared again. It looks like those notices are linked to the select field item list, please check thanks
Regards
Nicola

#2707003

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I'm not sure why you keep displaying the notices and notices should not stop the site execution.

You can report back the issue with all required details once you confirm it. This could possibly cache or maybe map configurations not set correctly or anything else.

#2707178

I could hide the notices, but the issue remains. I confirm that sometimes (not always) the notices appear when I change/move up/down items in my select custom field and geolocation stops working. When the notices disappear the geolocation goes back to normal. I don't know if this is a caching issue or what. If you feel this is not a real issue I can close the ticket, no problem.

#2707180

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I do not see any other user reported such issue. You can close the ticket and if you have any other issue feel free to file a new ticket with all required details to reproduce the issue.