• Resolved mathase

    (@mathase)


    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “load_custom_wp_admin_style” not found or invalid function name in /usr/www/users/onlinwzpxf/wp-includes/class-wp-hook.php:308 Stack trace: #0 /usr/www/users/onlinwzpxf/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #1 /usr/www/users/onlinwzpxf/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /usr/www/users/onlinwzpxf/wp-admin/admin-header.php(118): do_action(‘admin_enqueue_s…’, ‘index.php’) #3 /usr/www/users/onlinwzpxf/wp-admin/index.php(137): require_once(‘/usr/www/users/…’) #4 {main} thrown in /usr/www/users/onlinwzpxf/wp-includes/class-wp-hook.php on line 308

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter mathase

    (@mathase)

    Thank You, manually resetting the plugins worked…The problem was caused by a couple of plugins that aren’t compatible with PHP 8.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update to php 8.0 from 7.4 Fatal Error’ is closed to new replies.