[RESOLVED] Notice: wp_enqueue_script was called incorrectly.
I just installed this plugin, I have debug at ON in wp-config.php and I saw this message :
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 init hooks.
I was able to fix it by editing slimbox.php by adding this at the end:
I also removed the other lines at the end that we’re doing this problem.
- The topic ‘[RESOLVED] Notice: wp_enqueue_script was called incorrectly.’ is closed to new replies.