Notice: Function 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. 詳しくは WordPress のデバッグをご覧ください。 (このメッセージはバージョン 5.7.0 で追加されました) in /var/www/html/wp-includes/functions.php on line 5833