Re: (yet another) integration bug, no Role set on registration
I’m trying to create this plugin. When I try to register using bbPress, I get this error message…
Fatal error: Class ‘WP_User’ not found in /home/sbisdedt/public_html/web20/forum/my-plugins/default-role.php on line 11
The registration actually takes place; the person receives the email with the password; their registration shows up in both WordPress and bbPress.
But how do I stop that error message from appearing. What could I have possibly done wrong.
Thanks for your help.
K