wp_register_script was called incorrectly.
-
Hello,
I have this warning with the plugin :
Notice: wp_register_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 /Applications/MAMP/htdocs/amcc/wp-includes/functions.php on line 4148
Can you modify the plugin? I thing you have to replace wp_register_script with wp_enqueue_scripts in the file initLight.inc.php
ThankS
The topic ‘wp_register_script was called incorrectly.’ is closed to new replies.