{"id":500,"date":"2012-06-18T02:44:01","date_gmt":"2012-06-18T02:44:01","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=500"},"modified":"2012-06-18T04:05:42","modified_gmt":"2012-06-18T04:05:42","slug":"fatal-error-call-undefined-function-self_admin_url","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=500","title":{"rendered":"Fatal error: Call to undefined function self_admin_url()"},"content":{"rendered":"<p>while updating a wordpress site, saw the subject error&#8230;.<\/p>\n<p>Seems like this happened because the recovered password wasn&#8217;t changed.   That generated a warning which I suppose led to the fatal error during the upgrade process. So everything was fine, but note to self: change the recovered password before upgrading.<\/p>\n<p>Now updating another custom wordpress site&#8217;s plugins, for how long will I see this?<br \/>\n&#8220;Briefly unavailable for scheduled maintenance. Check back in a minute.&#8221;<br \/>\nremoved the &#8220;.maintenance&#8221; file in the top level folder and that got us back on track.<\/p>\n<p>You do not have sufficient permissions to access this page.<br \/>\nanother one&#8230; someone deleted the admin account.  inserted user ID 1 and let&#8217;s see if it works&#8230; nope did not work, also need to look at wp_usermeta table &#8211; found that user 2 has the admin permissions!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>while updating a wordpress site, saw the subject error&#8230;. Seems like this happened because the recovered password wasn&#8217;t changed. That generated a warning which I suppose led to the fatal error during the upgrade process. So everything was fine, but &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=500\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/500"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=500"}],"version-history":[{"count":12,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}