• Resolved padmalochandas

    (@padmalochandas)


    Enabling WP_DEBUG in wp-config.php using define( ‘WP_DEBUG’, true );
    gives following 2 notices.

    Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_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 /storage/d5/528/10539/public_html/wp-includes/functions.php on line 4137

    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 login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /storage/d5/528/10539/public_html/wp-includes/functions.php on line 4137

    I dont have great knowhow of wordpress stuff but, I guess its nothing to worry, right?
    Thanks for your support.
    Hare Krishna.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello Padmalochandas,

    Let me clear you in php the notices and warning we can ignore. Because its don’t stop the execution of the site.

    I hope the above was helpful.

    Kind regards,

    Manoj

    Thread Starter padmalochandas

    (@padmalochandas)

    Since its not inside the themes folder, I guess its not a theme related issue probably. In which case I m sorry. In either case pl do let me know whats happening.
    Thanks.
    Hare Krishna.

    Thread Starter padmalochandas

    (@padmalochandas)

    Manoj thank you. Kafi quick the aap.
    Hare Krishna.

    Hey Krishna,

    Thanks for the appreciation.

    Regards,

    Manoj

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP_DEBUG Notice’ is closed to new replies.