{"id":6818,"date":"2014-04-23T08:09:31","date_gmt":"2014-04-23T08:09:31","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/fatal-error-in-base_facebook-php-on-line-1039-collection-of-common-programming-errors\/"},"modified":"2014-04-23T08:09:31","modified_gmt":"2014-04-23T08:09:31","slug":"fatal-error-in-base_facebook-php-on-line-1039-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/fatal-error-in-base_facebook-php-on-line-1039-collection-of-common-programming-errors\/","title":{"rendered":"Fatal error: in base_facebook.php on line 1039-Collection of common programming errors"},"content":{"rendered":"<p>I am getting the following error<\/p>\n<blockquote>\n<p>Uncaught OAuthException: An active access token must be used to query information about the current user.<\/p>\n<\/blockquote>\n<p>My frame application consists of two pages &#8211; <code>index.php<\/code> and <code>index1.php<\/code>. By default when <code>index.php<\/code> loads, it has following link to <code>index1.php<\/code> at the top:<\/p>\n<pre><code>index1\n<\/code><\/pre>\n<p>and also the following code:<\/p>\n<pre><code>\n<\/code><\/pre>\n<p><code>index1.php<\/code> has same code at the top as index.php is has.<\/p>\n<p>When I load application it doesn&#8217;t give any error and loads perfectly, but when I click on link to <code>index1.php<\/code> it gives<\/p>\n<blockquote>\n<p>Uncaught OAuthException: An active access token must be used to query information about the current user in base_facebook.php at 1039<\/p>\n<\/blockquote>\n<p>How can I fix this?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am getting the following error Uncaught OAuthException: An active access token must be used to query information about the current user. My frame application consists of two pages &#8211; index.php and index1.php. By default when index.php loads, it has following link to index1.php at the top: index1 and also the following code: index1.php has [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6818","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6818"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6818\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}