Notice: wp_enqueue_script() was called incorrectly. “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /var/www/vhosts/domain.com/httpdocs/wp-includes/functions.php on line 5663
I find this bug in the widget section and add the next snippet to fix it.