• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

WP Rocket - Best WordPress Caching Plugin

WP Rocket - Best WordPress Caching Plugin v3.15.10

No permission to download
getting error after updating to v 3.13
Warning: Undefined variable $rucss_status in /home/XXXXXXX/public_html/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Page.php on line 589
Warning: Trying to access array offset on value of type null in /home/XXXXXXX/public_html/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Page.php on line 589
 
getting error after updating to v 3.13
Warning: Undefined variable $rucss_status in /home/XXXXXXX/public_html/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Page.php on line 589
Warning: Trying to access array offset on value of type null in /home/XXXXXXX/public_html/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Page.php on line 589
What's your php version?
 
getting error after updating to v 3.13
Warning: Undefined variable $rucss_status in /home/XXXXXXX/public_html/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Page.php on line 589
Warning: Trying to access array offset on value of type null in /home/XXXXXXX/public_html/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Page.php on line 589

I also had this error too, to solve it I commented the line:
PHP:
// if ( $rucss_status['disable'] ) {
// $css_section_helper[] = $rucss_status['text'];
// }

and added:
PHP:
if (isset($rucss_status) && is_array($rucss_status) && $rucss_status['disable']) {
     $css_section_helper[] = $rucss_status['text'];
}

in image: 1680456561533.png
 
  • Like
Reactions: chezzz
I also had this error too, to solve it I commented the line:
PHP:
// if ( $rucss_status['disable'] ) {
// $css_section_helper[] = $rucss_status['text'];
// }

and added:
PHP:
if (isset($rucss_status) && is_array($rucss_status) && $rucss_status['disable']) {
     $css_section_helper[] = $rucss_status['text'];
}

in image: 1680456561533.png
You should make a github issue/pr on their github so they can fix it:

 
  • Like
Reactions: weverton
same warning for me

I had the same errors previously and it was caused by another plugin and not WP Rocket


Running PHP 8.1.17 and all is fine
 
  • Like
Reactions: Legolas
If the error is indicating that an array within the plugin itself was not found, how is it in another plugin? and if it really is in another plugin like you claim to be, please mention it to us
Just click on the link in my previous reply and read my post, all information is contained

I'm only trying to assist and my fix and specific plugin that caused the same PHP errors, might not be the answer for everyone

The Maintenance Page Plugin must have blocked WP Rocket in someway

:)
 

Forum statistics

Threads
79,268
Messages
1,138,013
Members
247,708
Latest member
nscb
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock