m going trough the final checks with my theme and there is a WP_Debug notice thats really bugging me:
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. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/…serverpath…/wp-includes/functions.php on line 2748
the notice is visible in both frontend and backend (with wp_debug turned on).
has anyone else experienced this notice? could you please help with an advice or solution?
i can`t seem to find any solution in the codex or on other websites.
is this notice a reason for rejection?
thanks in advance,