• I use your great plugin on my website running WP 5.2. I want to use it on another site, also 5.2. But the plugin won’t activate. After I click ‘Activate’, WP says the plugin’s activated (above the list with plugins), but it isn’t (in the list). I disabled all other plugins and switched to Twenty Nineteen to make sure is isn’t a conflict. What might the problem be?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    I also downgraded to PHP 7.2, but to no avail.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    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.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    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?

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    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.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    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.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can’t activate’ is closed to new replies.