WordPress.org

Ready to get started?Download WordPress

Forums

Disable WP Toolbar Removal
[resolved] [Plugin: ToolBar Removal completely disable] wp-deregister_style was called incorrectly? (6 posts)

  1. sheriffderek
    Member
    Posted 2 years ago #

    i get this notice straight away. any ideas ???

    Notice: wp_deregister_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks.

    http://wordpress.org/extend/plugins/wp-toolbar-removal/

  2. sLa NGjI's
    Member
    Plugin Author

    Posted 2 years ago #

    "Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks."

    This "notice" show because you have activated debug level on your installation.

    Why you use debug level?

    Normal situation, with default debug level work fine ...

    P.S. This is only a debug notice (i use a trick) not a bug of my plugin!

  3. sheriffderek
    Member
    Posted 2 years ago #

    well- i guess you are right - it is just a "notice." i've just been trying to keep my wordPress as clean as possible. i use debug so that i can see if there are bugs. and conflicting code. so that if something is wrong - i don't go insane trying to find out what it could be - and destroy all my hard work in vein.

    thank you for your response. i guess there are reasons to bend the rules - i guess i just get kinda OCD about this stuff.

    thanks. - derek.

  4. sLa NGjI's
    Member
    Plugin Author

    Posted 2 years ago #

    Debug Notice Alert "wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks" is now cleaned, and definitively repaired, on new nersion of ToolBar Removal! Try it, and repost positive review here ... A.S.A.P. ;) Thanks!

    Bye!

  5. sheriffderek
    Member
    Posted 1 year ago #

    positive review!!!

    ToolBar Removal does what it says and with no Debug Notices.

    Thanks for the sweet plugin !!!

  6. sLa NGjI's
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks you sheriffderek, for me ia a pleasure :)

    P.S. New release is coming ... if you are happy to my work, evaluate donation ;) Thanks!

    Bye!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.