Title: Error in widget editor
Last modified: December 15, 2022

---

# Error in widget editor

 *  Resolved [grudzinski](https://wordpress.org/support/users/grudzinski/)
 * (@grudzinski)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-in-widget-editor/)
 * Hi there,
 * since i’ve deinstalled W3 Total Cache, im getting an error in widget-editor:
 * “Die Funktion wp_enqueue_script() wurde fehlerhaft aufgerufen. Das Skript „wp-
   editor“ sollte nicht zusammen mit dem neuen Widgets-Editor (wp-edit-widgets oder
   wp-customize-widgets) eingebunden werden. Weitere Informationen: Debugging in
   WordPress (engl.). (Diese Meldung wurde in Versio n5.8.0 hinzugefügt.) in /home/
   www/wordpress/wp-includes/functions.php on line 5835”
 * Frontend seems to be ok.
 * All plugins and WordPress itself are updated to the newest version.
 * Thanks for any hint.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-in-widget-editor%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-in-widget-editor/#post-16292962)
 * Hello [@grudzinski](https://wordpress.org/support/users/grudzinski/)
 * Thank you for reaching out and I am happy to assist you with this.
    Removing 
   W3TC can’t cause problems, however, it’s so powerful that it can hide potential
   issues 🙂 All jokes aside, it seems that the issue is caused by your theme or
   some plugin you are using. Switching to the default theme and disabling the plugins
   one by one can identify what is causing the problem. The potential issue is when
   the theme or a plugin includes any blocks that haven’t changed to use the block-
   editor packages and still refer to the editor package then it will trigger the
   notice you see on the block widgets screen. You can check more in the links below:
   [https://wordpress.org/support/topic/error-in-widgets-with-new-wordpress-version-5-8-wp_enqueue_script-and-wp/#post-15090381](https://wordpress.org/support/topic/error-in-widgets-with-new-wordpress-version-5-8-wp_enqueue_script-and-wp/#post-15090381)
 * > [The Block Editor JavaScript module in 5.2](https://make.wordpress.org/core/2019/04/09/the-block-editor-javascript-module-in-5-2/)
 * 
    To confirm, this is not specifically related to the W3TC.
 * I hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Error in widget editor’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/error-in-widget-editor/#post-16292962)
 * Status: resolved