Deprecated: rtrim() warning in php8.1
-
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:
- wp-includes/formatting.php:2827
rtrim()
wp-includes/formatting.php:2827untrailingslashit()
cms/plugins/updraftplus/class-updraftplus.php:4711UpdraftPlus->backups_dir_location()
cms/plugins/updraftplus/admin.php:1248UpdraftPlus_Admin->disk_space_check()
cms/plugins/updraftplus/admin.php:281UpdraftPlus_Admin->setup_all_admin_notices_global()
cms/plugins/updraftplus/admin.php:580UpdraftPlus_Admin->admin_init()
cms/plugins/updraftplus/admin.php:38UpdraftPlus_Admin->__construct()
cms/plugins/updraftplus/admin.php:8updraft_try_include_file()
cms/plugins/updraftplus/class-updraftplus.php:481UpdraftPlus->admin_menu()
wp-includes/class-wp-hook.php:310do_action('admin_menu')
wp-admin/includes/menu.php:161
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Deprecated: rtrim() warning in php8.1’ is closed to new replies.