When participant tries to access the forum archive page, they see the following error:
Fatal error: Uncaught Error: Call to a member function get_users_for_object() on null in /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/engagements.php:125 Stack trace: #0 /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/engagements.php(146): bbp_get_users_for_object(6065, '_bbp_moderator_...', 'post') #1 /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/capabilities.php(107): bbp_is_object_of_user(6065, 255, '_bbp_moderator_...') #2 /nas/content/live/wsscholars/wp-includes/class-wp-hook.php(287): bbp_map_primary_meta_caps(Array, 'moderate', 255, Array) #3 /nas/content/live/wsscholars/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #4 /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/core/sub-actions.php(523): apply_filters('bbp_map_meta_ca...', Array, 'moderate', 255, Array) #5 /nas/content/live/wsscholars/wp-includes/class-wp-hook.php(287): bbp_map_meta_caps(Array, 'moderate', 255, Array) #6 /nas/content/live/wsscholars/w in /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/engagements.php on line 125 Fatal error: Uncaught Error: Call to a member function get_users_for_object() on null in /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/engagements.php:125 Stack trace: #0 /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/engagements.php(146): bbp_get_users_for_object(6065, '_bbp_moderator_...', 'post') #1 /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/capabilities.php(107): bbp_is_object_of_user(6065, 255, '_bbp_moderator_...') #2 /nas/content/live/wsscholars/wp-includes/class-wp-hook.php(287): bbp_map_primary_meta_caps(Array, 'moderate', 255, Array) #3 /nas/content/live/wsscholars/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #4 /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/core/sub-actions.php(523): apply_filters('bbp_map_meta_ca...', Array, 'moderate', 255, Array) #5 /nas/content/live/wsscholars/wp-includes/class-wp-hook.php(287): bbp_map_meta_caps(Array, 'moderate', 255, Array) #6 /nas/content/live/wsscholars/w in /nas/content/live/wsscholars/wp-content/plugins/bbpress/includes/users/engagements.php on line 125
On debugging, I was able to narrow it down to bbp_user_engagements_interface( $rel_key, $rel_type ) returning NULL for participant in function bbp_get_users_for_object().
Can anyone help me figure out why this is happening or how I can resolve it?
(Using WP 5.5.1 and bbpress 2.6.5)
I had created topics from the admin end which worked fine but now clicking on any link with the forum window returns an empty page. Other info – I am using bbpress tweaks and had to disable forgot password as a user following that link wax immediately locked out by word fence
Forum – have your say!
Appreciate any help – thanks!
Why yet another related posts plugin doesn’t work for bbpress?
Hello there!
I want to exclude the replies from the search results, but I don’t know where I can change it (maybe a simple solution to put true to false?) or can anyone help me to figure out a code for the function.php in the child theme?
Greetings
Hello,
is there a plugin that guests can not see the links in a topic? Only for users who are logged in?
Thanks!
Hi there,
I want to add a third <li>message</li> to the form-user-register.php file to advise users that their user status will be set to “Spectator” until it is reviewed and approved to “Participant” status.
I will also need to add my translation to the bbpress-de_DE-formal.po file as my site is in German.
As I have my own unique theme in /wp-content/themes/unique_theme/, where do i place the form-user-register.php file in order to add my third <li>message</li>?
As I don’t want it overwritten next time bbpress updates.
The same question to the .po file as this also needs to be edited.
thx in advance.
I’m new to bbPress. I installed version 2.6.5 two days ago and have now created a basic forum, following the instructions in Part 1 of the Step-by-Step guide, to which I have added two topics. I read that the default view on the main Forum page should include an indented sub-list of topics but mine doesn’t. How do I make the sub-list of topics appear?
Wordpress 5.5.1 and the TwentySeventeen theme. www.sunbeamclass.org.uk
Hi Guys,
Extremely frustrating, I am using WP 5.5.1 and have installed bbPress to my site.
Recently the login widget has stopped working and as admin I cannot log out of the forum, my login is permanently shown on the site ?!?
Tried multiple re-installs and deleting WP pages but still, the problems remain.
Very grateful for all help!!!
Importing from phpBB ver 3.3.1 into bbPress ver 2.6.5 –
I get a “2. No users to import” warning.
I also get a loop, “8. Converting anonymous topic authors (100 through 100 of 100)”
Is anyone able to help? How much do you want?! I have deliberately not included the URL. If you can help I will provide it.
4000 users will be eternally grateful… (they do exist!)
Thanks,
Stewart
Hello
I tried to add a new forum, This error appeared.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 163840 bytes) in /home/vnyeklac/public_html/wp-includes/class-wp-object-cache.php on line 446
I looked at https://bbpress.org/forums/topic/php-fatal-error/ .
However I cannot solved this problem.
What should I do?
Thanks for watching.
My bbpress version is 2.6.5
php version is 7.4
wordpress version is 5.5.1
All latest version