This error is popping up 5 times on the top of my dashboard saying:
Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/myservername/public_html/mysite.com/wp-includes/functions.php on line 5313
What is the issue and how can I fix it?