Forums
-
- Forum
- Posts
-
- Installation
- 26,560
- Troubleshooting
- 57,202
- Themes
- 9,920
- Plugins
- 14,515
- Requests & Feedback
- 14,218
- Showcase
- 3,223
-
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
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS