{"id":1542,"date":"2020-05-04T17:25:46","date_gmt":"2020-05-04T15:25:46","guid":{"rendered":"https:\/\/www.wp-moon.com\/?p=1542"},"modified":"2020-05-14T11:58:31","modified_gmt":"2020-05-14T09:58:31","slug":"how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode","status":"publish","type":"post","link":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/","title":{"rendered":"How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_custom_heading text=&#8221;Problem&#8221; use_theme_fonts=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]You have launched an update of WordPress and unfortunately this update could not be completed. You no longer have access to the administration panel and the following error is displayed:[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<code>Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()<\/code>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;The cause&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]Unfortunately, it is difficult to find out, at the time, how this problem could occur: server problem, disk space, process interrupted by an action or a trigger&#8230; an interfering plugin&#8230; many causes can affect your WordPress installation and thus its updates.<br \/>\nTo analyze the problem in more depth, you should debug the update process in order to identify the moment of the blockage and then the cause of the problem.[\/vc_column_text][\/vc_column][vc_column][vc_custom_heading text=&#8221;The solution&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]wp_is_recovery_mode() is a function to &#8220;run&#8221; WordPress in maintenance mode. This mode pauses <a href=\"https:\/\/www.wp-moon.com\/fr\/erreur-lors-de-lajout-ou-de-la-mise-a-jour-de-plugins-et-de-themes\/\" title=\"Erreur lors de l&#8217;ajout ou de la mise \u00e0 jour de plugins et de th\u00e8mes\">plugins and themes<\/a> that can cause WSOD (White Screen Of Death). This feature was introduced in WordPress 5.2.0 and can be very useful, especially when you encounter blocking Fatal Errors.<\/p>\n<p>But in our case, it&#8217;s the maintenance feature itself that is blocking us. The idea here will be to temporarily work around the error and then reinstall WordPress, because the update having failed, our current installation is certainly incomplete, inconsistent and therefore non-functional.<\/p>\n<ul>\n<li>Connect by FTP(s) to your site<\/li>\n<li>Retrieve and edit the in-header.php file located in the wp-admin folder.<\/li>\n<li>Identify in this file the wp_is_recovery_mode() function and comment it (or delete it)<\/li>\n<li>Try to <a href=\"https:\/\/www.wp-moon.com\/fr\/impossible-acceder-ladministration-piratage\/\" title=\"Impossible d&#8217;acc\u00e9der \u00e0 l&#8217;administration (suite \u00e0 un piratage)\">access your administration<\/a> interface<\/li>\n<li>Restart the update by accessing the page wp-admin\/update-core.php (http(s):\/\/example.com\/wp-admin\/update-core.php)<\/li>\n<\/ul>\n<p>If you can&#8217;t solve this error, try to see in your archives or on the side of your host if it would be possible :<\/p>\n<ul>\n<li>Either restore your WordPress installation and your database before the malfunctioning<\/li>\n<li>Either reinstall WordPress and restore (a backup) \/ repair your database<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>You have launched an update of WordPress and unfortunately this update could not be completed. You no longer have access to the administration panel and the following error is displayed: Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()<\/p>\n","protected":false},"author":2,"featured_media":1513,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[51,112],"class_list":["post-1542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fix-errors","tag-fatal-error-2","tag-function"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() - WP Moon<\/title>\n<meta name=\"description\" content=\"You have launched an update of WordPress and unfortunately this update could not be completed. You no longer have access to the administration panel and the following error is displayed: Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() - WP Moon\" \/>\n<meta property=\"og:description\" content=\"You have launched an update of WordPress and unfortunately this update could not be completed. You no longer have access to the administration panel and the following error is displayed: Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Moon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpmoonwebsite\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-04T15:25:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-14T09:58:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/comment-resoudre-le-probleme-fatal-error-uncaught-error-call-to.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1279\" \/>\n\t<meta property=\"og:image:height\" content=\"721\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alexandre G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@alexgaboriau\" \/>\n<meta name=\"twitter:site\" content=\"@WPMoon4\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alexandre G\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() - WP Moon","description":"You have launched an update of WordPress and unfortunately this update could not be completed. You no longer have access to the administration panel and the following error is displayed: Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/","og_locale":"en_US","og_type":"article","og_title":"How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() - WP Moon","og_description":"You have launched an update of WordPress and unfortunately this update could not be completed. You no longer have access to the administration panel and the following error is displayed: Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()","og_url":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/","og_site_name":"WP Moon","article_publisher":"https:\/\/www.facebook.com\/wpmoonwebsite","article_published_time":"2020-05-04T15:25:46+00:00","article_modified_time":"2020-05-14T09:58:31+00:00","og_image":[{"width":1279,"height":721,"url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/comment-resoudre-le-probleme-fatal-error-uncaught-error-call-to.png","type":"image\/png"}],"author":"Alexandre G","twitter_card":"summary_large_image","twitter_creator":"@alexgaboriau","twitter_site":"@WPMoon4","twitter_misc":{"Written by":"Alexandre G","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#article","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/"},"author":{"name":"Alexandre G","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d"},"headline":"How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()","datePublished":"2020-05-04T15:25:46+00:00","dateModified":"2020-05-14T09:58:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/"},"wordCount":399,"commentCount":0,"publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/comment-resoudre-le-probleme-fatal-error-uncaught-error-call-to.png","keywords":["Fatal error","function"],"articleSection":["Fix Errors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/","url":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/","name":"How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() - WP Moon","isPartOf":{"@id":"https:\/\/www.wp-moon.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#primaryimage"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/comment-resoudre-le-probleme-fatal-error-uncaught-error-call-to.png","datePublished":"2020-05-04T15:25:46+00:00","dateModified":"2020-05-14T09:58:31+00:00","description":"You have launched an update of WordPress and unfortunately this update could not be completed. You no longer have access to the administration panel and the following error is displayed: Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()","breadcrumb":{"@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#primaryimage","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/comment-resoudre-le-probleme-fatal-error-uncaught-error-call-to.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/04\/comment-resoudre-le-probleme-fatal-error-uncaught-error-call-to.png","width":1279,"height":721},{"@type":"BreadcrumbList","@id":"https:\/\/www.wp-moon.com\/en\/how-to-solve-the-problem-fatal-error-uncaught-error-call-to-undefined-function-wp_is_recovery_mode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wp-moon.com\/en\/"},{"@type":"ListItem","position":2,"name":"Fix Errors","item":"https:\/\/www.wp-moon.com\/en\/category\/fix-errors\/"},{"@type":"ListItem","position":3,"name":"How to solve the problem Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode()"}]},{"@type":"WebSite","@id":"https:\/\/www.wp-moon.com\/en\/#website","url":"https:\/\/www.wp-moon.com\/en\/","name":"WP Moon","description":"","publisher":{"@id":"https:\/\/www.wp-moon.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wp-moon.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wp-moon.com\/en\/#organization","name":"WP Moon","url":"https:\/\/www.wp-moon.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2020\/02\/logo.png","width":290,"height":95,"caption":"WP Moon"},"image":{"@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/wpmoonwebsite","https:\/\/x.com\/WPMoon4"]},{"@type":"Person","@id":"https:\/\/www.wp-moon.com\/en\/#\/schema\/person\/72a64e6910977ec9e4b32fd8da54369d","name":"Alexandre G","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","url":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","contentUrl":"https:\/\/www.wp-moon.com\/wp-content\/uploads\/2023\/09\/312419460_10229483707296045_2919774527885824513_n-100x100.jpg","caption":"Alexandre G"},"description":"Alexandre, Web Developer &amp; Website Editor. I've been using WordPress for over 10 years in my professional environment and on personal projects. I created WP Moon to teach you how to use this CMS, solve your problems and show you all the tricks.","sameAs":["https:\/\/www.croque-pixel.com\/","https:\/\/x.com\/alexgaboriau","https:\/\/www.youtube.com\/@wp_moon\/videos"],"url":"https:\/\/www.wp-moon.com\/en\/author\/wp-moon\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/1542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/comments?post=1542"}],"version-history":[{"count":0,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/posts\/1542\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media\/1513"}],"wp:attachment":[{"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/media?parent=1542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/categories?post=1542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wp-moon.com\/en\/wp-json\/wp\/v2\/tags?post=1542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}