That is not an error, but a warning. Big difference! A warning does not influence the output.
It is caused by PHP 7.2 and higher. You need to downgrade to PHP 7.1. EM still has some issues with any higher version.
So it appears you have updated your PHP version in the meantime.
Thanks for your quick reply, and your clarification!
I reverted to PHP 7.1, but the map stille doesn’t appear (in v 2.6.1 and v 2.6.2)
I reverted to v 2.5.0, and there is no issue with the map, showing as expected
There is no issue with any other map on my site
Thanks for your help
Strange, because I did not change anything there. What is the full short code you are using?
Oh, strange indeed!
[events_map] is the full shortcode I’m using, no personalization inside
I tried to clear cache of course, of my browser; the issue is with every browser tested (Chrome, Firefox, Edge)
Hello, i’m also having an error with the map not showing up anymore…
I use the short old with parameters high is :
[locations_map width=80% height=350 scope=1-months eventful=1]
And here is the link to the site
https://spacerendezvous.org/upcoming-events/
The thing is, I tried to downgrade to 7.1 but did nothing (I was already at 7.3 when I created the website), and when showing other pages where it also includes a map, it shows up, so I definitely think it’s related to the shortcode.
Thanks in advance 🙂
Really sorry about this, guys!
It should be solved in version 2.6.3.
Hi Patrick,
I’ve the same sort of problem : the map doesn’t appear at all, with the following shortcode :
[events_map width=”750″ height=”500″ category=”217″ scope=”future”]
I’m indeed in PHP v. 7.2 and didn’t try to revert to 7.1 to see if this issue is solved.
The fact is that using PHP v 7.1 seems not to be so recommended by my hosting provider : too old !
Do you intend to upgrade your plugin with v. 2.6.3, so that it will be compliant with PHP 7.2 ?
My map works again, and with PHP 7.2.
Good job Patrick!
Thank you so much!
Same for me ! The map is showing up again ! Thank you ! 😁
Awesome!
Thanks Patrick, all is working like a charm now 🙂
@maxelio42,
The thing is that EM itself is still not PHP 7.2 compatible in full yet. They still have issues (especially in Multiple Bookings Mode). They promised to release an update “soon”, but 7.2 has been around for a while now, so I personally believe that update is taking them way too long.
Since this is an add-on and uses some native EM functions, I always advise to revert back to 7.1. Not because of this add-on, but because of EM. 😉
Except for the count() function, that has been changed in 7.2, this add-on is actually PHP 7.3 compatible. 😉
OK, thanks for the information.
What do you mean by “multiple bookings mode”?
Hi I have a problem with the [events_map] shortcode too,
This is the page with the map, as you can see the locations_map shortcode loads correctly:
http://www.jeeltcraft.com/ambulanti-online/author/ambulante1/
I echoed the events_map shortcode I used without success above the map, the resulting javascript doesnt load the map center, the javascript returns a
center:{NaN,NaN}
Do you think changing the php version will help?
I activated the debugger abd it returns this error on the backend:
Notice: Undefined index: text in /home/kfdujkzv/public_html/ambulanti-online/wp-content/plugins/stonehenge-em-osm/config/more.php on line 28
Notice: Undefined index: text in /home/kfdujkzv/public_html/ambulanti-online/wp-content/plugins/stonehenge-em-osm/config/more.php on line 29
Please let me know