In the environment of
WPMU 2.9.2
BP 1.2.3
PHP 5.2.13
BuddyPress Groupblog 1.4.4
the buddypress groupblog accessing blog tab fails with error below.
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/kunstfac/public_html/wp-includes/wp-db.php on line 488The url will be like, http://{website_name}/groups/{group_name}/blog/
Cause of the problem
The problem happened due to bug of BuddyPress Groupblog version 1.4.4.
Solution of the problem
Since this is bug of this BuddyPress Groupblog 1.4.4 version so it is expected bug will be resolved in the next version of this plugin. However you can follow following workaround to make the plugin or blog section work.
The idea is don't create the group and groupblog at the same time.
Step 01: Visit the Site Admin > Blogs. Create a new Blog. Ensure that blog is created by visiting wp-admin/wpmu-blogs.php
Step 02: From the frontend after login as admin Create a group as usual but do not create a new groupblog. Instead at 3. Group Blog click the checkbox "Enable group blog" and then Use one of your own available blogs and from dropdown box select your blog.
Step 03: Go through next steps and you will see your blog is working perfect.
No comments:
Post a Comment