Title: Debug notice
Last modified: May 17, 2021

---

# Debug notice

 *  Resolved [DS](https://wordpress.org/support/users/dosolnce/)
 * (@dosolnce)
 * [5 years ago](https://wordpress.org/support/topic/debug-notice-18/)
 * Debug swears:
    “The `WP_Scripts::localize` function is called incorrectly. The
   parameter `$l10n` must be an array. To pass arbitrary data to scripts, use the`
   wp_add_inline_script()` function. For more information, see the “Debugging in
   WordPress” page. (This message was added in version 5.7.0.) ../wp-includes/functions.
   php on line 5313.” I found `$l10n` in class-field-company-info-missing.php: `
   Line 21: $l10n_data = WPSEO_Language_Utils::get_knowledge_graph_company_info_missing_l10n();`,`
   Line 23: $this->set_property( 'message', $l10n_data['message'] );`, `Line 24:
   $this->set_property( 'link', $l10n_data['URL'] );`

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [5 years ago](https://wordpress.org/support/topic/debug-notice-18/#post-14451028)
 * Hi [@dosolnce](https://wordpress.org/support/users/dosolnce/)
 * Is this occurring on your website and is it using the latest version of WordPress
   5.7.2 and Yoast SEO for WordPress 16.2?
 * We do have an article here on how to write and submit a bug report. We would 
   appreciate it if you could submit it to GitHub for further investigation – [https://yoast.com/help/how-to-write-a-good-bug-report/](https://yoast.com/help/how-to-write-a-good-bug-report/)
 *  Thread Starter [DS](https://wordpress.org/support/users/dosolnce/)
 * (@dosolnce)
 * [5 years ago](https://wordpress.org/support/topic/debug-notice-18/#post-14451964)
 * Hi. Yes, WordPress 5.7.2 and Yoast SEO for WordPress 16.2. I’ll try, but I don’t
   know enough English to write reports.
 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [5 years ago](https://wordpress.org/support/topic/debug-notice-18/#post-14451977)
 * Thanks for doing that and trying to create the bug report with as many details
   as possible. If anything is unclear from the help article, do let us know.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years ago](https://wordpress.org/support/topic/debug-notice-18/#post-14477220)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Debug notice’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/debug-notice-18/#post-14477220)
 * Status: resolved