Fatal error: Uncaught Error: Call to undefined function

My website URL is:
www.milaanng.com

What I’m seeing is:

I got an error as below when i tried to upgrade wordpress.

" Fatal error : Uncaught Error: Call to undefined function wp_is_recovery_mode() in /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php:1068 Stack trace: #0 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(288): wp_admin_bar_recovery_mode_menu(Object(WP_Admin_Bar)) #1 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #3 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php(86): do_action_ref_array(‘admin_bar_menu’, Array) #4 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(288): wp_admin_bar_render(’’) #5 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(’’, Array) #6 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-admin/admin in /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php on line 1068"

I’m using this software:

Additional information:

Fatal error : Uncaught Error: Call to undefined function wp_is_recovery_mode() in /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php:1068 Stack trace: #0 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(288): wp_admin_bar_recovery_mode_menu(Object(WP_Admin_Bar)) #1 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #3 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php(86): do_action_ref_array(‘admin_bar_menu’, Array) #4 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(288): wp_admin_bar_render(’’) #5 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(’’, Array) #6 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-admin/admin in /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php on line 1068

i tried to follow the article


but if i will upload the latest wordpress folder will it not impact my site and data?

You won’t lose anything because you are just adding folder and files(overwriting sometimes, are the files for the site in the wordpress folder, or somewhere else?), or find a old wordpress installation (this method is probably not recommended and is my suggestion so if you want someone to blame, blame me). go to the line mentioned in the error and copy the function and paste.

3 Likes

i have uploaded worpress folder to htdocs. I still get below error.
Fatal error : Uncaught Error: Call to undefined function wp_is_recovery_mode() in /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php:1068 Stack trace: #0 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(288): wp_admin_bar_recovery_mode_menu(Object(WP_Admin_Bar)) #1 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #3 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php(86): do_action_ref_array(‘admin_bar_menu’, Array) #4 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(288): wp_admin_bar_render(’’) #5 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(’’, Array) #6 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-admin/admin in /home/vol1_2/epizy.com/epiz_21887513/htdocs/wp-includes/admin-bar.php on line 1068

i fixed the issue i was not uploading the file to correct account.
Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.