Fatal error on activation
-
Hi ??
Thanks for this plugin, I’m testing it for a Netlify deploy. I encountered a fatal error on activation:
Fatal error: Uncaught Error: Call to undefined function is_plugin_active() in /Users/matt/Local Sites/mattrad/app/public/wp-content/plugins/simply-static-callback/includes/class-simply-static-callback.php on line 85
In Simply_Static_Callback::simplyStaticIsActivated() I added:
include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );
at the start of the method, and that resolved the error.
Thanks,
Matt
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error on activation’ is closed to new replies.