BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Wall › Critical: Fatal Error when disabling Wall Component
- This topic has 2 replies, 2 contibutors, and was last updated 8 years, 9 months ago by Anonymous.
Question
February 9, 2016 at 1:31 pm #58687@acroyesSteps to reproduce:
Clean install of just BuddyPress and BuddyBoss Wall.
Enable it and like an activity post, any post.
Then go into BuddyBoss Wall settings and disable the check box next to “Enable Wall Component.”This results in site broken with a fatal error:
Notice: Undefined offset: 0 in /var/www/mysite/wp-content/plugins/buddyboss-wall/includes/class-buddyboss-wall-like-notification.php on line 57
Notice: Trying to get property of non-object in /var/www/mysite/wp-content/plugins/buddyboss-wall/includes/class-buddyboss-wall-like-notification.php on line 62
Fatal error: Call to undefined function buddyboss_wall_get_users_who_liked() in /var/www/mysite/wp-content/plugins/buddyboss-wall/includes/class-buddyboss-wall-like-notification.php on line 106
I can’t understand why this was not tested. I spend so much time testing BuddyBoss products because I can’t trust them not to break.
Now I have to figure out how to get my test site working again with the wall enabled. If I rename the plugin folder and rename it back the site works again, but as soon as I reactivate BuddyBoss Wall it goes back into fatal error. Do I need to go into the database to fix this? How do I re-enable Wall Component via the database?
Thank you.
Answers
February 9, 2016 at 1:46 pm #58691@acroyesFigured out how to re-enable the Wall Component via the database:
In the wp_options table look for buddyboss_wall_plugin_options. At the end if the string next to “enabled”;s:0: make it “enabled”;s:1:
February 12, 2016 at 8:07 am #59007@
AnonymousHi @acroyes, I have notified developers it will be fixed in next update
Regards
- The question ‘Critical: Fatal Error when disabling Wall Component’ is closed to new replies.