Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

[Solved] Error after updating WpForo

3 Posts
2 Users
0 Reactions
1,205 Views
Posts: 15
 Dude
Topic starter
(@dude)
Eminent Member
Joined: 4 years ago

Hi guys, congrats on the new forum. Some of my subscribers are getting this error message, especially on Firefox.

Notice: Trying to get property 'roles' of non-object in /home5/manuelbean/public_html/wp-content/plugins/wpforo/includes/hooks.php on line 22

 

What can I do to solve this?

In fact, it's not just the error message...even the header/main menu is "buggy".

 

 

Thanks

 

P.S. I had a fatal error that crashed my site when I installed this new version as it was conflicting with the addons. I since deleted the addons and uploaded the new version.


2 Replies
Posts: 15
 Dude
Topic starter
(@dude)
Eminent Member
Joined: 4 years ago

I've noticed that admins don't experience this bug.

Do you have any clue how to solve this?

 

Thank you


Robert
Posts: 10603
Admin
(@robert)
Support Team
Joined: 10 years ago

Hi @dude,

Please update to 2.0.4 and delete all caches. This issue should already be fixed.