- This topic has 36 replies, 3 voices, and was last updated 3 years, 2 months 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?
I’m guessing they modify the code on each new plugin update to make it more difficult to crack. I noticed ‘The Events Calendar’ a popular WordPress events plugin routes pretty much all of the data through their website so you basically have to buy a subscription. Makes sense because of the GPL license… they don’t want people using their stuff for free & most of all using it free LEGALLY lol.
My rocket subscription renews in a few days so I will attempt to get it working and post results.
hi,
any news?
thanks