{"id":5394386,"date":"2014-10-16T10:20:37","date_gmt":"2014-10-16T10:20:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-with-authorize-plugin\/"},"modified":"2016-08-22T03:31:03","modified_gmt":"2016-08-22T03:31:03","slug":"error-with-authorize-plugin","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-with-authorize-plugin\/","title":{"rendered":"Error with authorize plugin"},"content":{"rendered":"<p>Hi,<br \/>\nI have problem with authorize plugin.<br \/>\nAfter click on button &#8220;Authorize Now&#8221; I have got this error on page:<\/p>\n<pre><code>Warning: Invalid argument supplied for foreach() in \/home\/vector\/everest.deltanrg.ru\/docs\/wp-content\/plugins\/facebook-publish\/lib\/class\/hybridauth\/Hybrid\/Storage.php on line 109\n\nWarning: Cannot modify header information - headers already sent by (output started at \/home\/vector\/everest.deltanrg.ru\/docs\/wp-content\/plugins\/facebook-publish\/lib\/class\/hybridauth\/Hybrid\/Storage.php:109) in \/home\/vector\/everest.deltanrg.ru\/docs\/wp-content\/plugins\/facebook-publish\/lib\/class\/hybridauth\/Hybrid\/Auth.php on line 353<\/code><\/pre>\n<p>After refresh page I got error<\/p>\n<pre><code>Fatal error: Uncaught exception &#039;Exception&#039; with message &#039;Authentication failed! Facebook returned an invalid user id.&#039; in ....\/wp-content\/plugins\/facebook-publish\/lib\/class\/hybridauth\/Hybrid\/Auth.php:152 Stack trace: #0 ....\/wp-content\/plugins\/facebook-publish\/lib\/class\/hybridauth\/Hybrid\/Auth.php(39): Hybrid_Auth::initialize(&#039;root_path&#039;) #1\n....\/wp-content\/plugins\/facebook-publish\/init.php(29): Hybrid_Auth-&gt;__construct(&#039;\/home\/...&#039;) #2 ....\/wp-settings.php(215): include_once(&#039;\/home\/vector\/ev...&#039;) #3\n....\/wp-config.php(83): require_once(&#039;\/home\/vector\/ev...&#039;) #4\n....\/wp-load.php(29): require_once(&#039;\/home\/vector\/ev...&#039;) #5\n....\/wp-blog-header.php(12): require_once(&#039;\/home\/vector\/ev...&#039;) #6 ....\/index.php(17): require(&#039;\/home\/vector\/ev...&#039;) #7 {main} in ....\/wp-content\/plugins\/facebook-publish\/lib\/class\/hybridauth\/Hybrid\/Auth.php on line 152<\/code><\/pre>\n<p>P.S. Sorry for my English<\/p>\n<p>https:\/\/wordpress.org\/plugins\/facebook-publish\/<\/p>\n","protected":false},"template":"","class_list":["post-5394386","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5394386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5394386\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5394386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}