Support » Plugin: Contact Form by BestWebSoft » wp_enqueue_script called incorrectly

  • Resolved raiinzen

    (@raiinzen)


    This is the error I’m getting
    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/content/s/t/e/stec81/html/Rain/wp-includes/functions.php on line 2959

    http://wordpress.org/extend/plugins/contact-form-plugin/

Viewing 1 replies (of 1 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hello raiinzen,

    The styles displaying is called in the plugin as:
    add_action( ‘admin_enqueue_scripts’, ‘cntctfrm_admin_head’ );
    add_action( ‘wp_enqueue_scripts’, ‘cntctfrm_wp_head’ );
    Involving the necessary hooks.

    Kind regards,
    Support Team

Viewing 1 replies (of 1 total)
  • The topic ‘wp_enqueue_script called incorrectly’ is closed to new replies.