Title: Debug notices
Last modified: August 31, 2016

---

# Debug notices

 *  Resolved [nata-lee](https://wordpress.org/support/users/nata-lee/)
 * (@nata-lee)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/debug-notices-13/)
 * Hello,
 * I’ve got these messages in the debug.log caused by the plugin:
 *     ```
       PHP Notice:  wp_deregister_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_
       scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.
       ) in /wp-includes/functions.php on line 3792
       PHP Notice:  wp_deregister_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_s
       cripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.)
        in /wp-includes/functions.php on line 3792
       ```
   
 * How could I resolve it?
 * [https://wordpress.org/plugins/wp-toolbar-removal/](https://wordpress.org/plugins/wp-toolbar-removal/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [slangji](https://wordpress.org/support/users/slangji/)
 * (@slangji)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/debug-notices-13/#post-7164575)
 * Solved on next version … coming soon …
 * Thanks! !!

Viewing 1 replies (of 1 total)

The topic ‘Debug notices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-toolbar-removal_90a9cb.svg)
 * [WP Toolbar Removal](https://wordpress.org/plugins/wp-toolbar-removal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-toolbar-removal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-toolbar-removal/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-toolbar-removal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-toolbar-removal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-toolbar-removal/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [slangji](https://wordpress.org/support/users/slangji/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/debug-notices-13/#post-7164575)
 * Status: resolved