Error when viewing own profile
-
With the Powerup plugin installed and activated, when attempting to view ones own profile WP errors with “There has been a critical error on this website. Please check your site admin email inbox for instructions.”
The error message in the logs is:
[Tue Sep 26 16:39:30.954156 2023] [php:error] [pid 931552] [client x.x.x.x:52569] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “show_admin_bar_prefs” not found or invalid function name in /var/www/vhosts/xxxxxxxx/htdocs/wp-includes/class-wp-hook.php:310\nStack trace:\n#0 /var/www/vhosts/xxxxxxxx/htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()\n#1 /var/www/vhosts/xxxxxxxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()\n#2 /var/www/vhosts/xxxxxxxx/htdocs/wp-admin/admin-header.php(139): do_action()\n#3 /var/www/vhosts/xxxxxxxx/htdocs/wp-admin/user-edit.php(200): require_once(‘…’)\n#4 /var/www/vhosts/xxxxxxxx/htdocs/wp-admin/profile.php(18): require_once(‘…’)\n#5 {main}\n thrown in /var/www/vhosts/xxxxxxxx/htdocs/wp-includes/class-wp-hook.php on line 310, referer: https://www.xxxxxx.com/wp-admin/users.php
The topic ‘Error when viewing own profile’ is closed to new replies.