-
Notifications
You must be signed in to change notification settings - Fork 20
Uncaught Error in WP with v4.0 and v4.0.1 #626
Description
After updating to 4.0, i looked through the backend and found a strange layout error in the Notification tab (see screenshot. UNsure if related: after checking, i recieved a warning from WP on an uncaught error caused by the plugin:
WordPress-Version 6.9.4
Aktives Theme: Zombie Apocalypse (Version 2.1.0)
Aktuelles Plugin: Friends (Version 4.0.1)
PHP-Version 8.4.19
Fehler-Details
Ein Fehler vom Typ E_ERROR wurde in der Zeile 441 der Datei /var/www/vhosts/korrupt.biz/httpdocs/wp-content/plugins/friends/includes/class-admin.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function has_cap() on false in /var/www/vhosts/korrupt.biz/httpdocs/wp-content/plugins/friends/includes/class-admin.php:441
Stack trace:
#0 /var/www/vhosts/korrupt.biz/httpdocs/wp-includes/class-wp-hook.php(341): Friends\Admin::admin_edit_user_link()
#1 /var/www/vhosts/korrupt.biz/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /var/www/vhosts/korrupt.biz/httpdocs/wp-content/plugins/friends/includes/class-admin.php(454): apply_filters()
#3 /var/www/vhosts/korrupt.biz/httpdocs/wp-content/plugins/friends/templates/admin/notification-manager.php(155): Friends\Admin::get_edit_friend_link()
#4 /var/www/vhosts/korrupt.biz/httpdocs/wp-includes/template.php(816): require('...')
#5 /var/www/vhosts/korrupt.biz/httpdocs/wp-content/plugins/friends/includes/class-gamajo-template-loader-1-4-0.php(188): load_template()
#6 /var/www/vhosts/korrupt.biz/httpdocs/wp-content/plugins/friends/includes/class-gamajo-template-loader-1-4-0.php(99): Gamajo_Template_Loader_1_4_0->locate_template()
#7 /var/www/vhosts/korrupt.biz/httpdocs/wp-content/plugins/friends/includes/class-admin.php(2213): Gamajo_Template_Loader_1_4_0->get_template_part()
#8 /var/www/vhosts/korrupt.biz/httpdocs/wp-includes/class-wp-hook.php(341): Friends\Admin->render_admin_notification_manager()
#9 /var/www/vhosts/korrupt.biz/httpdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#10 /var/www/vhosts/korrupt.biz/httpdocs/wp-includes/plugin.php(522): WP_Hook->do_action()
#11 /var/www/vhosts/korrupt.biz/httpdocs/wp-admin/admin.php(264): do_action()
#12 {main}
thrown
Nevertheless, everything seems to work. Any ideas?
