New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Deprecated: notices with PHP 8.2.3 #5801
Comments
@Mai-Saad Did you enable all WP Rocket's options + performed some operations like clearing the cache, etc.? It would be good to resolve as many deprecations as possible here. |
@piotrbak After enable all options and play around with admin bar, the deprecation logs will be 7K + (mostly for preload) |
Opened a PR at berlinDB that should fix this. |
I got the same on a Multisite (8.2.1):
There are more occurrences of the |
@jeawhanlee In this PR let's update the berlinDB version. |
@jeawhanlee How it's going with this one? |
adding in case these have been missed (Current version of WP Rocket: 3.8.2) thanks
|
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
PHP Deprecated notice (count 150+) exists in debug.log while site is using PHP 8.2.3
[08-Mar-2023 14:51:05 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/new.rocketlabsqa.ovh/htdocs/wp-content/plugins/wp-rocket/inc/Engine/Optimization/DelayJS/HTML.php on line 253
[08-Mar-2023 14:51:09 UTC] PHP Deprecated: Creation of dynamic property WP_Rocket\Engine\Preload\Database\Rows\CacheRow::$id is deprecated in /var/www/new.rocketlabsqa.ovh/htdocs/wp-content/plugins/wp-rocket/inc/Dependencies/Database/Base.php on line 266
To Reproduce
Steps to reproduce the behavior:
Expected behavior
no deprecated notice in debug.log
Additional context
Add any other context about the problem here.
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: