WP_DEBUG notice: wp_enqueue_script was called incorrectly

Hi all,
sorry for the late reply, i had some deadlines :frowning:

i fixed the problem this way (in functions.php):

function my_init_method() {
    if (!is_admin()) {

wp_register_script ( // SuperFish
		  'superfish',
		  get_template_directory_uri() . '/js/nav/superfish/superfish.js',
		  array('jquery'), //requires jQuery
		  1.48, //Version Nr
		  false //loads in footer
		);

}
}    
add_action('wp_enqueue_scripts', 'my_init_method');

and

function register_all_styles()
{
wp_enqueue_script( 'superfish' ); // Enqueue Superfish Menu
}
add_action('wp_enqueue_scripts','register_all_styles');

hope this will help someone in the future.

thanks,
andi