I also downgraded to PHP 7.2, but to no avail.
I tested it on several other other sites, no problems there. No errors are shown with WP_DEBUG set to true. I’m at a loss! The only tying I can think of is that my provider uses different databases (MySQL and MariaDB) and different versions. But that’s rather far-fetched.
Plugin Contributor
hupe13
(@hupe13)
Try the plugin Query Monitor to debug.
Thanks for the tip, but there are no related queries. So no help there …
Plugin Author
bozdoz
(@bozdoz)
Are you suggesting that this plugin doesn’t work in PHP 7.2? Any tips for me to be able to reproduce?
No, it works fine on other installations with PHP 7.2. I can’t reproduce it myself on other sites, so I’m at a loss why it happens. There’s no pattern to discern.
So maybe WP core is to blame, but I reinstalled it to no avail. I also reinstalled the plugin.
The problem apparently occurs before the first query is fired, does that help? What triggers the “This plugin is activated” info box? Because that is displayed, although the plugin is still inactive.
It gets stranger still: although WP says the plugin is inactive, a map just showed up on a single post type. On a page, I just see the shortcode. So is appears the plugin IS active, it’s just WP that thinks it not.
Plugin Contributor
hupe13
(@hupe13)
Another tools to check your installation are the the “Site Health” (/wp-admin/site-health.php) and the developer tools of your browser.
leaflet-map works with WordPress 5.2 and php 7.2 respectively 7.3.4.
Thanks, but the maps gone again, and there is no Leaflet menu. So I think it still isn’t active. Nothing in the source, except the shortcode.