akirk / friends

A social network between WordPresses. Privacy focused, by itself a self-hosted RSS++ reader with notifications.
https://wpfriends.at/
GNU General Public License v2.0
78 stars 13 forks source link

PHP Notice: "Function wp_enqueue_script() was called incorrectly." in /wp-admin/widgets.php #331

Open apermo opened 1 week ago

apermo commented 1 week ago

I could not yet localize the issue, but when you open /wp-admin/widgets.php with Friends and wp_debug I get the following error message.

<b>Notice</b>: Function 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 <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in <b>/var/www/html/wp-includes/functions.php</b> on line <b>6078</b> 

I can reproduce the behavior with just Friends enabled. Other editor sites seem not affected.