Latest update seems...
 
Notifications
Clear all

[Solved] Latest update seems to crash website

10 Posts
2 Users
2 Reactions
1,113 Views
Posts: 33
Topic starter
(@hansie)
Eminent Member
Joined: 8 years ago

Recently updated to 2.1.7 (if I remember correctly), and my website now is now no longer accessible due to wpForo crashing.

Error in members.php:

Warning: Attempt to read property "roles" on bool in /home/user/public_html/wp-content/plugins/wpforo/classes/Members.php on line 1108

Fatal error: Uncaught Error: Attempt to assign property "roles" on bool in /home/user/public_html/wp-content/plugins/wpforo/classes/Members.php:1108 Stack trace: #0 /home/user/public_html/wp-content/plugins/wpforo/classes/Members.php(1166): wpforo\classes\Members->synchronize_user('2', Array) #1 /home/user/public_html/wp-content/plugins/wpforo/includes/installation.php(32): wpforo\classes\Members->synchronize_users(100) #2 /home/user/public_html/wp-content/plugins/wpforo/classes/Actions.php(20): wpforo_activation() #3 /home/user/public_html/wp-includes/class-wp-hook.php(308): wpforo\classes\Actions->wpforo\classes\{closure}('') #4 /home/user/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #5 /home/user/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/user/public_html/wp-content/plugins/wpforo/wpforo.php(279): do_action('wpforo_after_in...') #7 /home/user/public_html/wp-content/plugins/wpforo/wpforo.php(510): wpforo\wpforo->init_classes() #8 /home/user/public_html/wp-includes/class-wp-hook.php(308): wpforo\wpforo->init(Object(WP)) #9 /home/user/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 /home/user/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #11 /home/user/public_html/wp-includes/class-wp.php(797): do_action_ref_array('wp', Array) #12 /home/user/public_html/wp-includes/functions.php(1332): WP->main('') #13 /home/user/public_html/wp-blog-header.php(16): wp() #14 /home/user/public_html/index.php(17): require('/home/user/...') #15 {main} thrown in /home/user/public_html/wp-content/plugins/wpforo/classes/Members.php on line 1108

I'm running my website in 2 languages and utilize WP Multisite for that.

Interesting observation:
On one site I do not get this error (Tweaking4all.com - English language) and
on the other site it crashes my entire website (Tweaking4all.nl - Dutch language).

Both domains are on the share the same setup, running (all add-ons licensed and activated):

- Wordpress Multisite 6.1.1
- wpForo Version 2.1.7 (active)
- wpForo Ads Manager Version 3.0.2(active)
- wpForo Advanced Attachments Version 3.0.4(active)
- wpForo Embeds Version 3.0.3(active)

Any help or suggestions would be appreciated since one of my sites is currently down due to this issue.

 

9 Replies
Chris
Posts: 3627
(@chris)
Famed Member
Joined: 3 years ago

Hi @hansie,

This problem is related to your DB, we will need Admin Access to your website.

Send the credentials to info[at]gvectors.com, mention this topic in the email, and let me know here that the email is sent.

Thanks

Posts: 33
Topic starter
(@hansie)
Eminent Member
Joined: 8 years ago

OK what do I need to do?
I am experience with phpMyAdmin/SQL etc.

I am extremely hesitant providing anyone admin acces to my website - I hope you can understand that.

Posts: 33
Topic starter
(@hansie)
Eminent Member
Joined: 8 years ago

FYI: I did sent you and email as well, topic "Chris - Crash wesbite / DB issue forum post".
Just in case you prefer that over posting certain info in the forum.

Posts: 33
Topic starter
(@hansie)
Eminent Member
Joined: 8 years ago

Chris? My website is still down ... 😞 

2 Replies
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@hansie,

Please be patient, need time to understand how we can help you without admin access.

I will come back to you after getting info from the Dev.

Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@hansie,

There is big work to do in the DB.

There are user ID's in wp_usermeta, which are having wrong capability or they are not included in wp_users table.

You would need to write lots of SQL, and other stuff, we can't provide the solution with writing the work step by step.

You would need a WordPress Dev with good WP knowledge, so the Dev could fix the issue.

Page 1 / 2