- This topic has 34 replies, 1 voice, and was last updated 2 weeks, 3 days ago by .
- You must be logged in to reply to this topic.
Welcome to GPLDL - we are still beta - please report any bugs via the contact form.
All you have to do is install the plugin, you will get a fatal error when trying to activate.
Go to console on your server, navigate to the plugin folder where the file/wp-content/plugins/wp-rocket-master/composer.json in and execute composer install -no-dev.
After that move to /wp-content/plugins/wp-rocket-master/inc/functions/option.php and change line 530 from return false; to return true;
function rocket_valid_key() {
$rocket_secret_key = get_rocket_option( 'secret_key' );
if ( ! $rocket_secret_key ) {
return true;
}
return 8 === strlen( get_rocket_option( 'consumer_key' ) ) && hash_equals( $rocket_secret_key, hash( 'crc32', get_rocket_option( 'consumer_email' ) ) );
}
Now you should be able to active the plugin.
execute composer install -no-dev
You make it sound so simple…..
How can non-coders do this?
I agree with ANA, we need a little more clarification on
execute composer install -no-dev
also that code isn’t on line 530 for me its on 470..
Hi Rasomu.
Thanks for your explanation, however you have lost me with “execute composer install -no-dev.”
Please could you explain in a little more depth what this means exactly?
Thanks in advance.
Hi all,
Any update on how this would work since version 3.8?