Wp_script_is was called incorrectly error upon activation

Posted in

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?

One Response to Wp_script_is was called incorrectly error upon activation

  1. antonio February 7, 2018 at 11:53 am #

    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.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share