Wp_script_is was called incorrectly error upon activation

I get this error message every time I activate the plugin.

Wp_script_is was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueu_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 /…wp-includes/functions.php on line 4147

Where do I start trying to fix this?

Posted in

Comments

One response to “Wp_script_is was called incorrectly error upon activation”

  1. Hi Curt,
    Probably there is a conflict with another plugin or the theme, please try enabling WordPress debug, editing your wp-config.php file and replace the following line:
    define('WP_DEBUG', false);
    with these lines:
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    Then try to enable the plugin. A new debug.log file must be created in your wp-content folder.
    Please send me this file to antonio[at]itthinx[dot]com indicating this topic.
    Kind Regards,
    Antonio B.

Share