{"id":6709860,"date":"2015-11-02T21:13:40","date_gmt":"2015-11-02T21:13:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/too-early-user-checking-1\/"},"modified":"2016-08-30T19:48:43","modified_gmt":"2016-08-30T19:48:43","slug":"too-early-user-checking-1","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/too-early-user-checking-1\/","title":{"rendered":"Too Early User Checking"},"content":{"rendered":"<p>the theme, combined with BuddyPress will generate notice. for more information see: https:\/\/buddypress.trac.wordpress.org\/ticket\/4830<\/p>\n<p>&#8220;Some plugin is invoking it (set_current_user) too early. You&#8217;ll want to do a debug_backtrace() and figure out what function is calling it when.&#8221;<\/p>\n<p>the P2 class must wait till init to check for user and include ajax part.<\/p>\n","protected":false},"template":"","class_list":["post-6709860","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6709860","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\/6709860\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6709860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}