Home > Enterprise >  Wordpress Plugin cant activate
Wordpress Plugin cant activate

Time:01-08

i made this custom plugin for my web agency customers. they install it on their wp site, and go under setup, and accept that we can acesses their site. Then it creates a user called "Nimbus Nordic" with the passcode "Ymw.1144*" and i get a email confirming they have given us acsess, they can also delete the user under the menu.

The issue is when i install the plugin there is no issue, but when i try to activate it, it just reloads the page and dosent activate. No error messeges.

here is a link to the code: https://github.com/yassinayoub/WPsupport

CodePudding user response:

Going through the GitHub code you must have mistakenly deleted some part of the code, check line 39 $user_id = wp_create_user( $username, $

Should be : $user_id = wp_create_user( $username, $password);

  • Related