{"id":9632346,"date":"2017-10-30T07:34:24","date_gmt":"2017-10-30T07:34:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cant-network-activate-plugin\/"},"modified":"2017-10-30T07:34:24","modified_gmt":"2017-10-30T07:34:24","slug":"cant-network-activate-plugin","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cant-network-activate-plugin\/","title":{"rendered":"Can&#8217;t network activate plugin"},"content":{"rendered":"<p>It&#8217;s my custom plugin. It works without errors on individual sites but when I try to &#8220;Network activate&#8221; this plugin I get this:<\/p>\n<p><code>Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in ...\\wp-includes\\capabilities.php on line 539<\/code><\/p>\n<p>What can be the cause?<\/p>\n","protected":false},"template":"","class_list":["post-9632346","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9632346","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\/9632346\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9632346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}