Can’t activate during self-signup
-
I have a bit of a weird situation that’s causing the install of this plugin to fail.
I run a multi-site network where users are allowed to create their own sites with wp-signup.php. I also hook into the wp-initialize-site to automatically activate certain plugins.
Unfortunately, trying to activate Media Library Organizer during the wp-initialize-site action generates a fatal error because it tries to run the installer, but the installer class is added only when the plugin believes it’s running in an admin page. When someone creates their own site using wp-signup, WP_ADMIN is not set when the wp-initialize-site action happens. Because the installer class isn’t set up, line 18 of includes/admin/activation.php fails.
- The topic ‘Can’t activate during self-signup’ is closed to new replies.