Replies: 0
This has already been reported, but not resolved – even though the Github issue was closed and another post here was marked as resolved.
https://wordpress.org/support/topic/notice-wp_enqueue_script/#post-14898520
https://github.com/Yoast/wordpress-seo/issues/17275
[22-Sep-2021 15:25:44 UTC] PHP Notice: wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in xxxx/app/public/wp-includes/functions.php on line 5663
I made a note on the GitHub issue regarding how I’ve addressed this issue in my own client projects.