No user created when submitting registration form
-
On one of my sites, when I’m submitting the registration form, I get
Congratulations! Your registration was successful.
You may log in using the password that was emailed to you as soon as your account was activated
but the user doesn’t show up on the user list in the admin settings.
When trying to send notification to the admin, I’m also seeing this in the logs:
PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /var/www/site/wp-content/plugins/wp-members/inc/email.php on line 282, referer: …
line 282 is :
$arr['act_link'] = get_bloginfo ( 'wpurl' ) . "/wp-admin/user-edit.php?user_id=".$user_id;
which to me, looks like $user_id is actually a WP_Error object since creating the user failed and it’s still trying to use it as an id.
- The topic ‘No user created when submitting registration form’ is closed to new replies.