Fatal error on plugin activation
-
Hi there!
Thanks for making this new plugin – great idea! π
However, on activation I got an fatal error because of function is_plugin_active doesn’t exist. I commented out the lines in your plugin main file (around line 216) and all worked.
What causes the error is described here: https://wordpress.stackexchange.com/questions/9345/is-plugin-active-function-doesnt-exist/9350…this function is only available in wp-admin and only after the hook “admin_init” has fired.
Also when WPML and Elementore were already active I got error.
So would be great if you could fix this.
Another suggestion:
Would be nice if you could support other plugins that offer language switchers like Polylang, TranslatePress, MultlingualPress etc. Would make total sense π Thanks in advance!–Dave
The topic ‘Fatal error on plugin activation’ is closed to new replies.