Title: New Debug &#8220;Doing it wrong&#8221; Message
Last modified: June 21, 2022

---

# New Debug “Doing it wrong” Message

 *  Resolved [JP3](https://wordpress.org/support/users/jp3/)
 * (@jp3)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/new-debug-doing-it-wrong-message/)
 * Just passing on what I run across with full debugging enabled after the last 
   update:
 * > `require (wp-admin/widgets.php => 32)
   >  require_once (wp-admin/widgets-form-
   > blocks.php => 70) do_action (wp-admin/admin-header.php => 163) (admin_head)
   > WP_Hook->do_action (wp-includes/plugin.php => 476) () WP_Hook->apply_filters(
   > wp-includes/class-wp-hook.php => 331) wp_check_widget_editor_deps (wp-includes/
   > class-wp-hook.php => 307) _doing_it_wrong (wp-includes/widgets.php => 2090)
   > WP_Hook->do_action (wp-includes/plugin.php => 476) (wp_enqueue_script()) WP_Hook-
   > >apply_filters (wp-includes/class-wp-hook.php => 331) “wp-editor” script should
   > not be enqueued together with the new widgets editor (wp-edit-widgets or wp-
   > customize-widgets).`
 * Enable this plugin, messages show. Disable plugin and they go away.
 * Not a hard error and everything seems to work fine, but it’s more like a “best
   practices” WP nag message. FYI

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ciprian Popescu](https://wordpress.org/support/users/butterflymedia/)
 * (@butterflymedia)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/new-debug-doing-it-wrong-message/#post-15888379)
 * That is strange, as I am not using the widgets anywhere in the plugin, nor are
   they included or enqueued. I am not able to reproduce the error. Maybe it’s a
   conflict with another plugin.

Viewing 1 replies (of 1 total)

The topic ‘New Debug “Doing it wrong” Message’ is closed to new replies.

 * ![](https://ps.w.org/block-for-font-awesome/assets/icon-256x256.png?rev=2984433)
 * [Block for Font Awesome](https://wordpress.org/plugins/block-for-font-awesome/)
 * [Support Threads](https://wordpress.org/support/plugin/block-for-font-awesome/)
 * [Active Topics](https://wordpress.org/support/plugin/block-for-font-awesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-for-font-awesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-for-font-awesome/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ciprian Popescu](https://wordpress.org/support/users/butterflymedia/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/new-debug-doing-it-wrong-message/#post-15888379)
 * Status: resolved