• artiomrudenco

    (@artiomrudenco)


    Dear Support,

    WP version: 6.2
    PHP version: 8.1
    pardot: 2.0.0

    We 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.)

    1. wp-includes/functions.php:5865
    2. WP_Scripts->localize()
      wp-includes/functions.wp-scripts.php:221
    3. wp_localize_script()
      wp-content/plugins/pardot/pardot.php:94
    4. pardot_init()
      wp-includes/class-wp-hook.php:308
    5. do_action('init')
      wp-settings.php:623

    2) ctype_print(): Argument of type bool will be interpreted as string in the future

    1. wp-content/plugins/pardot/includes/pardot-settings-class.php:1229
    2. ctype_print()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:1229
    3. Pardot_Settings::get_settings()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:701
    4. Pardot_Settings::get_api()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:349
    5. Pardot_Settings::is_authenticated()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:230
    6. Pardot_Settings->admin_notices()
      wp-includes/class-wp-hook.php:308
    7. do_action('admin_notices')
      wp-admin/admin-header.php:303

    3) ctype_print(): Argument of type bool will be interpreted as string in the future

    1. wp-content/plugins/pardot/includes/pardot-settings-class.php:1238
    2. ctype_print()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:1238
    3. Pardot_Settings::get_settings()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:701
    4. Pardot_Settings::get_api()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:349
    5. Pardot_Settings::is_authenticated()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:230
    6. Pardot_Settings->admin_notices()
      wp-includes/class-wp-hook.php:308
    7. do_action('admin_notices')
      wp-admin/admin-header.php:303

    4) ctype_print(): Argument of type bool will be interpreted as string in the future

    1. wp-content/plugins/pardot/includes/pardot-settings-class.php:1247
    2. ctype_print()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:1247
    3. Pardot_Settings::get_settings()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:701
    4. Pardot_Settings::get_api()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:349
    5. Pardot_Settings::is_authenticated()
      wp-content/plugins/pardot/includes/pardot-settings-class.php:230
    6. Pardot_Settings->admin_notices()
      wp-includes/class-wp-hook.php:308
    7. do_action('admin_notices')
      wp-admin/admin-header.php:303

  • The topic ‘Errors PHP8.1 WP6.2’ is closed to new replies.