Hi Luke,
The deprecation messages are informative for developers, not a warning or error message.
They highlight items which will be adjusted/removed in a future release. They are normal.
The presence of these messages won’t affect the normal plugin operation in any way at all.
Best regards,
Nick
Thank you for the response.
-
This reply was modified 1 year, 3 months ago by
luke630.
Hi Luke,
Thank you very much, I’m happy to have helped.
Best regards,
Nick
I am aware of one deprecation message on the bottom of the Updates page, which occurs because the $notice variable in admin.php might not be a string, and then it runs through wp_kses().
Deprecation messages do represent things that should be fixed, because they will break in future versions of PHP. This error is occurring on PHP 8.1 for us, and we’d like to upgrade. Is there an ETA on when this will be fixed? It’s also making our dev site spit out notices.
Not sure why this is marked as resolved, but it was reported 3 months ago and is still not fixed.
Stack trace:
#0 /var/www/example.com/wp-content/plugins/updraftplus/admin.php(1215): wp_kses(NULL, Array)
#1 /var/www/example.com/wp-includes/class-wp-hook.php(324): UpdraftPlus_Admin->core_upgrade_preamble('')
#2 /var/www/example.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#3 /var/www/example.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /var/www/example.com/wp-admin/update-core.php(1139): do_action('...')
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/example.com/wp-includes/kses.php on line 1809