…and editing of the Locations via Frontend gives a FatalError.
Your map has a width of 0px. When I change that, the map is shown.
I guess you have set the width to 100%? In that case it is filling 100% of the parent div, which is being scaled to 0px. See the plugin FAQ’s for the solution 🙂
No 🙂
I didn’t change anything. The backend is still 400px/300px. Now I’ve fixed it with css. But there is also the fatal error when editing the location via frontend.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Stonehenge_EM_OSM::show_edit_event_box(), 0 passed in plugins/events-manager/forms/location/where.php on line 12 and exactly 1 expected in plugins/stonehenge-em-osm/stonehenge-em-osm.php:136 Stack trace: #0 plugins/events-manager/forms/location/where.php(12): Stonehenge_EM_OSM::show_edit_event_box() #1 /events-manager/events-manager.php(650): include('/0/d7...') #2 events-manager/templates/forms/location-editor.php(34): em_locate_template('forms/location/...', 'events-manager') #3 events-manager/events-manager.php(650): include('0/d7...') #4 0/d756443004/htd in stonehenge-em-osm/stonehenge-em-osm.php on line 136
Ahhhh, I see what went wrong. The function should contain the $EM_Event variable.
I have corrected this in version 1.8.3. Please upgrade.
If the problem still occurs, please deactivate and reactivate this plugin. That should do a hard trigger t reload the template files.
My apologies!
Great, all works fine.
Thank you very much!
Pfewwwwww… It was a stupid mistake that I should not have made…