You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP 8.4.1 Deprecation notice: WP_Rocket\Engine\Common\Queue\RUCSSQueueRunner::__construct(): Implicitly marking parameter $store as nullable is deprecated, the explicit nullable type must be used instead
#7219
Open
alfonso100 opened this issue
Jan 8, 2025
· 0 comments
Describe the bug
A customer using PHP 8.4.1 reported the following Deprecation notices:
Deprecated WP_Rocket\Engine\Common\Queue\RUCSSQueueRunner::__construct(): Implicitly marking parameter $async_request as nullable is deprecated, the explicit nullable type must be used instead
wp-content/plugins/wp-rocket/inc/Engine/Common/Queue/RUCSSQueueRunner.php:63
Composer\Autoload\includeFile()
/var/www/html/waf/vendor/composer/ClassLoader.php:322
Composer\Autoload\ClassLoader->loadClass()
wp-content/plugins/wp-rocket/inc/Engine/Common/JobManager/Cron/Subscriber.php:93
WP_Rocket\E\C\J\C\Subscriber->initialize_rucss_queue_runner()
wp-includes/class-wp-hook.php:324
do_action('init')
wp-settings.php:704
To Reproduce
Steps to reproduce the behavior:
Update to PHP 8.4.1
See the deprecation notice
Expected behavior
We should update the code to prevent the deprecation notice
according to @wordpressfan :
Describe the bug
A customer using PHP 8.4.1 reported the following Deprecation notices:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should update the code to prevent the deprecation notice
according to @wordpressfan :
Additional context
Ticket: https://secure.helpscout.net/conversation/2813601201/533978?viewId=2683093
Slack Thread: https://wp-media.slack.com/archives/C43T1AYMQ/p1736350050088929
The text was updated successfully, but these errors were encountered: