Errors PHP8.1 WP6.2
-
Dear Support,
WP version: 6.2
PHP version: 8.1
pardot: 2.0.0We got notices and deprecation:
1) 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. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)- wp-includes/functions.php:5865
WP_Scripts->localize()
wp-includes/functions.wp-scripts.php:221wp_localize_script()
wp-content/plugins/pardot/pardot.php:94pardot_init()
wp-includes/class-wp-hook.php:308do_action('init')
wp-settings.php:623
2) ctype_print(): Argument of type bool will be interpreted as string in the future
- wp-content/plugins/pardot/includes/pardot-settings-class.php:1229
ctype_print()
wp-content/plugins/pardot/includes/pardot-settings-class.php:1229Pardot_Settings::get_settings()
wp-content/plugins/pardot/includes/pardot-settings-class.php:701Pardot_Settings::get_api()
wp-content/plugins/pardot/includes/pardot-settings-class.php:349Pardot_Settings::is_authenticated()
wp-content/plugins/pardot/includes/pardot-settings-class.php:230Pardot_Settings->admin_notices()
wp-includes/class-wp-hook.php:308do_action('admin_notices')
wp-admin/admin-header.php:303
3) ctype_print(): Argument of type bool will be interpreted as string in the future
- wp-content/plugins/pardot/includes/pardot-settings-class.php:1238
ctype_print()
wp-content/plugins/pardot/includes/pardot-settings-class.php:1238Pardot_Settings::get_settings()
wp-content/plugins/pardot/includes/pardot-settings-class.php:701Pardot_Settings::get_api()
wp-content/plugins/pardot/includes/pardot-settings-class.php:349Pardot_Settings::is_authenticated()
wp-content/plugins/pardot/includes/pardot-settings-class.php:230Pardot_Settings->admin_notices()
wp-includes/class-wp-hook.php:308do_action('admin_notices')
wp-admin/admin-header.php:303
4) ctype_print(): Argument of type bool will be interpreted as string in the future
- wp-content/plugins/pardot/includes/pardot-settings-class.php:1247
ctype_print()
wp-content/plugins/pardot/includes/pardot-settings-class.php:1247Pardot_Settings::get_settings()
wp-content/plugins/pardot/includes/pardot-settings-class.php:701Pardot_Settings::get_api()
wp-content/plugins/pardot/includes/pardot-settings-class.php:349Pardot_Settings::is_authenticated()
wp-content/plugins/pardot/includes/pardot-settings-class.php:230Pardot_Settings->admin_notices()
wp-includes/class-wp-hook.php:308do_action('admin_notices')
wp-admin/admin-header.php:303
- The topic ‘Errors PHP8.1 WP6.2’ is closed to new replies.