{"id":11807316,"date":"2019-08-07T06:33:19","date_gmt":"2019-08-07T06:33:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-errors-168\/"},"modified":"2019-08-07T06:33:19","modified_gmt":"2019-08-07T06:33:19","slug":"php-errors-168","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-errors-168\/","title":{"rendered":"PHP errors"},"content":{"rendered":"<p>Hi,<br \/>\nI love what this plugin does for user experience, except for the bit that it broke on my site! I use a directory plugin which does not allow back end dashboard operations to function when this plugin is activated. The developers looked into the issue and noted the following issue arising.<\/p>\n<p>Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in \\wp-includes\\functions.php on line 4773<\/p>\n<p>How can I get around this?<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-11807316","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11807316","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\/11807316\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11807316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}