Title: PHP Error notice
Last modified: March 26, 2021

---

# PHP Error notice

 *  [Fleks](https://wordpress.org/support/users/felaherz/)
 * (@felaherz)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-error-notice-10/)
 * As I like creating wordpress pages with debug mode to get direct feedback when
   I change code.
    With JetWidgets activated I get this message:
 * `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 [...]/wp-includes/functions.php on line
   5313`

The topic ‘PHP Error notice’ is closed to new replies.

 * ![](https://ps.w.org/jetwidgets-for-elementor/assets/icon-256x256.png?rev=3103042)
 * [JetWidgets For Elementor](https://wordpress.org/plugins/jetwidgets-for-elementor/)
 * [Support Threads](https://wordpress.org/support/plugin/jetwidgets-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/jetwidgets-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetwidgets-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetwidgets-for-elementor/reviews/)

## Tags

 * [error notice](https://wordpress.org/support/topic-tag/error-notice/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [Fleks](https://wordpress.org/support/users/felaherz/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/php-error-notice-10/)
 * Status: not resolved