Conversation
supportHello, When logging out of my site, a fatal error occurred caused by this plugin. Here are the details: Error Details ============= An error of type E_ERROR was caused in line 71 of the file /home/xxxx/public_html/wp-content/plugins/gd-bbpress-tools/code/mods/signature.php. Error message: Uncaught Error: Attempt to assign property "filter" on null in /home/xxxx/public_html/wp-content/plugins/gd-bbpress-tools/code/mods/signature.php:71 Stack trace: #0 /home/xxxx/public_html/wp-includes/class-wp-hook.php(307): GDBTOModSignature->editor_form_profile(Object(WP_User)) #1 /home/xxxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /home/xxxx/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /home/xxxx/public_html/wp-admin/user-edit.php(838): do_action('show_user_profi...', Object(WP_User)) #4 /home/xxxx/public_html/wp-admin/profile.php(18): require_once('/home/xxxx/...') #5 {main} thrown WordPress version 6.0.1 Current plugin: GD bbPress Tools (version 3.2.1) PHP version 8.0.20
This error occures since PHP 8.0. It can be fixed by putting this code above the error line (71): if (!$profileuser) return; Don鈥檛 know if this will have some sideeffects, but for me everything works after that. This reply was modified 3 years, 9 months ago by milkycode .
@milkycode Thanks, it helped me. 馃檪
@milkycode Thanks, it fixed the issue. Now I can update the user profile on the backend again and there are no fatal errors.
This error is still existing in the current version. Please fix it according to my code fix above. Now it will also be triggered, when editing a user.
Yes, please fix 馃檪
Yes, still fatal errors.
Hello, Same for me. I did the fix but I hope for an update.
Sorry it took so long, it is fixed in 3.4. Plugin is also tested with PHP 8.0, 8.1 and 8.2, so hopefully, no more similar issues related to PHP.
This error occures since PHP 8.0. It can be fixed by putting this code above the error line (71): if (!$profileuser) return; Don鈥檛 know if this will have some sideeffects, but for me everything works after that. This reply was modified 3 years, 9 months ago by milkycode .
@milkycode Thanks, it helped me. 馃檪
@milkycode Thanks, it fixed the issue. Now I can update the user profile on the backend again and there are no fatal errors.
This error is still existing in the current version. Please fix it according to my code fix above. Now it will also be triggered, when editing a user.
Yes, please fix 馃檪
Yes, still fatal errors.
Hello, Same for me. I did the fix but I hope for an update.
Sorry it took so long, it is fixed in 3.4. Plugin is also tested with PHP 8.0, 8.1 and 8.2, so hopefully, no more similar issues related to PHP.