I’m using WordPress 5.5.15 and PHP7.7.4
I tryed to upgrade Pagebuilder from 2.13.2 to 2.29.0 but I received the message “There has been a critical error on this website”. Now I’m not able to use the back-end.
I uploaded manually the plugin files via ftp but with no results.
I activate the debug and the log file file give me this:
[22-Aug-2024 12:30:42 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_enqueue_emoji_styles' not found or invalid function name in /web/htdocs/www.mysite.it/home/wp-includes/class-wp-hook.php on line 287 [22-Aug-2024 12:30:42 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_print_font_faces' not found or invalid function name in /web/htdocs/www.mysite.it/home/wp-includes/class-wp-hook.php on line 287 [22-Aug-2024 12:30:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_admin_notice() in /web/htdocs/www.mysite.it/home/wp-admin/includes/update.php:346 Stack trace: #0 /web/htdocs/www.mysite.it/home/wp-includes/class-wp-hook.php(287): update_nag() #1 /web/htdocs/www.mysite.it/home/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #2 /web/htdocs/www.mysite.it/home/wp-includes/plugin.php(478): WP_Hook->do_action() #3 /web/htdocs/www.mysite.it/home/wp-admin/admin-header.php(292): do_action() #4 /web/htdocs/www.mysite.it/home/wp-admin/index.php(111): require_once('/web/htdocs/www...') #5 {main} thrown in /web/htdocs/www.mysite.it/home/wp-admin/includes/update.php on line 346
The website works but i’m not able to modify anything. What can I do?
Thanks in advance.
Hi Gianni
Thanks for getting in touch.
The missing function ( wp_admin_notice) is in WordPress 6.4.0: https://developer.wordpress.org/reference/functions/wp_admin_notice/.
wp_admin_notice
isn’t being called from within Page Builder; Page Builder doesn’t appear to be causing the error. The issue should resolve if you update WordPress.I made a manual WordPress update and everything works now.
Super thank you!
Bye!
G.
Super; glad to hear you’ve resolved the issue. Thanks for keeping us updated. If any SiteOrigin queries arise in the future, please, feel free to post a new thread.
Cheers for now!
Andrew