Critical Error with Version 3.14

[ad_1]

After installing version 3.14, a WordPress site I am working on (running PHP 8.1) experiences a fatal error that prevents access to the admin panel. I was able to revert it to 3.13.2 and all is well again. Here’s the error details:

[05-Oct-2024 02:23:08 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “add_links” not found or invalid function name in /home/xyz/public_html/wp-includes/class-wp-hook.php:326
Stack trace: 0 /home/xyz/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 1 /home/xyz/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php(405): apply_filters(‘plugin_action_links’, Array, ‘markup-by-attribute’, NULL, ‘all’) 2 /home/xyz/public_html/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Sync\Modules\Callables->set_plugin_action_links(Object(WP_Screen)) 3 /home/xyz/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 4 /home/xyz/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 5 /home/xyz/public_html/wp-admin/includes/class-wp-screen.php(424): do_action(‘current_screen’, Object(WP_Screen)) 6 /home/xyz/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen() 7 /home/xyz/public_html/wp-admin/admin.php(212): set_current_screen() 8 /home/xyz/public_html/wp-admin/index.php(10): require_once(‘/home/xyz/public_html/wp-admin/admin.php’) 9 {main}
thrown in /home/xyz/public_html/wp-includes/class-wp-hook.php on line 326

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer