wp_register_script was called incorrectly
-
Getting this warning in WordPress whenever this plugin is activated.
[25-May-2015 13:31:33 UTC] PHP Notice: wp_register_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.ww.wp.xz.cn/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.) in /Users/jasonhendriks/Sites/wordpress/wp-includes/functions.php on line 3560 [25-May-2015 13:31:33 UTC] PHP Notice: wp_enqueue_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.ww.wp.xz.cn/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.) in /Users/jasonhendriks/Sites/wordpress/wp-includes/functions.php on line 3560
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘wp_register_script was called incorrectly’ is closed to new replies.