I have created one custom plugin but when i try to Network Active in multisite its generate error like below

enter image description here

But when i install plugin from individual admin its successfully activated.

Any help is appreciated.

  • Does the custom plugin operate with a set of capabilities (permissions) for the user that require it to be a Super Admin? Keep in mind that if you're using current_user_can() or something to check capabilities (such as on loading a file), there are certain "admin" capabilities from single WordPress that are only available to a Super Admin in multisite. - Not enough info from what you posted to know if that's it, but it's something to check into. – butlerblog Dec 17 '18 at 13:10
  • @butlerblog No there are no any capabilities conditions in plugin – Pratik Patel Dec 17 '18 at 13:30
  • I mean the redirect after activation is wrong, normally the parameter activate=true is only short active and the rewrite back to the wp-admin page. Maybe you have an problem in the plugin about this topic. – bueltge Dec 17 '18 at 13:47
  • But there are no redirect set in register_activation_hook after activated – Pratik Patel Dec 17 '18 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.