• Resolved Fee

    (@wdfee)


    Hello, after switching from php8.0 to 8.1 the following warning appears in admin screen:

    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /[…]/wp-includes/formatting.php on line 2827

    Full:

    1. wp-includes/formatting.php:2827
    2. rtrim()
      wp-includes/formatting.php:2827
    3. untrailingslashit()
      cms/plugins/updraftplus/class-updraftplus.php:4711
    4. UpdraftPlus->backups_dir_location()
      cms/plugins/updraftplus/admin.php:1248
    5. UpdraftPlus_Admin->disk_space_check()
      cms/plugins/updraftplus/admin.php:281
    6. UpdraftPlus_Admin->setup_all_admin_notices_global()
      cms/plugins/updraftplus/admin.php:580
    7. UpdraftPlus_Admin->admin_init()
      cms/plugins/updraftplus/admin.php:38
    8. UpdraftPlus_Admin->__construct()
      cms/plugins/updraftplus/admin.php:8
    9. updraft_try_include_file()
      cms/plugins/updraftplus/class-updraftplus.php:481
    10. UpdraftPlus->admin_menu()
      wp-includes/class-wp-hook.php:310
    11. do_action('admin_menu')
      wp-admin/includes/menu.php:161
Viewing 1 replies (of 1 total)
  • Plugin Support pbevanudp

    (@pbevanudp)

    Hello

    Thank you for letting us know. Our developers will be addressing these deprecation notices in future iterations.

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated: rtrim() warning in php8.1’ is closed to new replies.