Welcome to GPLDL - we are still beta - please report any bugs via the contact form.

GPLDLGPLDL
GPLDL
Download the most popular GPL licensed Premium WordPress Themes & Plugins and WooCommerce Extensions for FREE!
  • Blog
    • Blog Articles
    • Latest Updates & Additions
  • Repository
    • Full Repository
    • Premium WordPress Themes
    • Premium WordPress Plugins
    • Premium WooCommerce Extensions
    • Special Gifts for Premium Members
    • Tutorials
  • Forum
  • Free Membership
  • Donations
  • My GPLDL Account
  • Sign In
Menu back  

WP Rocket "How to remove the license code check" no longer works

  • This topic has 36 replies, 3 voices, and was last updated 3 years, 9 months ago by mega deal.
Viewing 30 posts - 1 through 30 (of 37 total)
1 2 →
  • Author
    Posts
  • September 13, 2017 at 2:12 pm #19256
    Edie
    Member

    I subscribed and downloaded the WP Rocket plugin and followed these instructions:

    https://gpldl.com/remove-license-code-check-wp-rocket-wordpress-plugin/

    However, that no longer works. I’ve tried extending the idea and returning true deleting the additional code in that function but that didn’t work.

    Any help is appreciated!

    September 13, 2017 at 2:21 pm #19257
    Edie
    Member

    Update: I replaced:

    `
    function rocket_valid_key() {
    if ( ! $rocket_secret_key = get_rocket_option( ‘secret_key’ ) ) {
    return false;
    }

    return 8 === strlen( get_rocket_option( ‘consumer_key’ ) ) && hash_equals( $rocket_secret_key, hash( ‘crc32’, get_rocket_option( ‘consumer_email’ ) ) );
    }
    `

    with:

    `
    function rocket_valid_key() {
    // BEGIN: DISABLE LICENSE CHECK
    return 8;
    // END: DISABLE LICENSE CHECK
    }

    `
    And it appears to work. I’ll report back if it doesn’t.

    September 13, 2017 at 3:47 pm #19258
    Edie
    Member

    I setup the plugin and it now works fine–for all features–with the edits I posted.

    October 3, 2017 at 2:40 pm #19377
    7h3h
    Keymaster

    Thanks Edie, please let us know if it works and we will adjust the article.

    October 3, 2017 at 2:43 pm #19379
    Edie
    Member

    Hi,
    It works well and is in production on several sites.

    Thanks!
    -Edie

    February 28, 2018 at 10:35 am #19810
    k ijijij
    Participant

    That doesn’t work anymore!

    For version 2.1.1 upward..

    Here is the working tweak…

    Replace the following… on line 533 – 540

    function rocket_valid_key() {
    if ( ! $rocket_secret_key = get_rocket_option( ‘secret_key’ ) ) {
    return false;
    }

    return 8 === strlen( get_rocket_option( ‘consumer_key’ ) ) && hash_equals( $rocket_secret_key, hash( ‘crc32’, get_rocket_option( ‘consumer_email’ ) ) );
    }

    With…

    //tweaked by stephen!
    function rocket_valid_key() {
    return true;

    }

    Currently working on Wp Rocket V2.1.1.5

    Cheers…

    • This reply was modified 7 years, 2 months ago by k ijijij.
    October 7, 2018 at 3:52 pm #20445
    Anonymous
    Inactive

    Any working solution for v3.1.4 ?

    Thanks

    October 7, 2018 at 4:25 pm #20446
    Anonymous
    Inactive

    I’ve managed to work it out, if it helps anyone else just change

    Line 497:

    return false;

    to

    return true;

    February 5, 2019 at 2:22 pm #21021
    Joe Moe
    Participant

    Does anybody has an idea how to null it on version 3.2.4 ?

    • This reply was modified 6 years, 3 months ago by Joe Moe.
    February 5, 2019 at 5:18 pm #21025
    Anonymous
    Inactive

    If no one has come up with a working suggestion i’ll take a look tomorrow for you. Must admit I’ve ditched WP Rocket as had too many issues, I now use litespeed cache. It’s far superior in my opinion and it’s free (but you need to be on a litespeed web server)

    February 15, 2019 at 8:21 am #21072
    Anonymous
    Inactive

    WP Rocket v3.2.5 final is working fine here :)

    February 15, 2019 at 8:48 am #21073
    Joe Moe
    Participant

    Doesn’t work for me. When I try to activate the plug-in,the page reloads, but is not installed.

    February 16, 2019 at 1:56 am #21078
    Anonymous
    Inactive

    @Joe Moe

    Have you tried Litespeed Cache? It’s its applicable for your hosting setup then personally i find it much more effective than WP Rocket.

    If you still want WP Rocket then i would uninstall the current version following these steps to clean everything up after install https://docs.wp-rocket.me/article/694-uninstalling-wp-rocket

    Then download and install this version to see if it solves your issues
    [LINK REMOVED BY ADMIN]

    • This reply was modified 6 years, 2 months ago by GPLDL.
    February 16, 2019 at 4:12 am #21080
    Joe Moe
    Participant

    Thank you for your recommendation, but I try to avoid installing plugins from unknown sources.

    February 16, 2019 at 4:28 am #21081
    Anonymous
    Inactive

    Unknown sources ? That’s my own upload and is virus free.

    But your happy to download from an unknown gpl site, the plugins here are not purchased by the site owners …

    Scan it with virus total if you don’t trust it, plenty other people have download plugins from me, not one complaint yet.

    Anyway it’s your call, the plugin is available if you want to download it.

    February 16, 2019 at 6:48 am #21082
    7h3h
    Keymaster

    @Chris: We highly appreciate your comments, instructions how to null and willingness to help the community at GPLDL. We have to ensure though, that people do not get any malicious file directly or indirectly through GPLDL. That is an obligation that has highest priority and we would never compromise on security. Therefore we cannot accept external links to modified files and will have to remove them whenever they pop up. We also do not want to encourage you to provide your excellent contributions in the future. So we consider having a dedicated forum on “how to null” certain plugins. Would you want to join this forum and make contributions?

    February 16, 2019 at 7:13 am #21093
    Anonymous
    Inactive

    @7h3h Happy to help where I can.

    If you will not allow my own personal uploads then do you have any objections to creating my own site and suggeting users to download from my site for plugins which either you do not have or are outdated. This eliminates your worries about my plugins containing viruses or being affiliated with this site, it’s left down to the end user to make their own choice.

    My aim is not to take revenue away from you but help the community where possible.

    February 16, 2019 at 10:19 am #21094
    Jackie Masek
    Participant

    Got this error message when trying to upload WPRocket:

    Fatal error: Class ‘WP_Rocket\Admin\Options’ not found in [webserver host info]/wp-content/plugins/wp-rocket-master/inc/functions/options.php on line 19

    What should I do?

    February 16, 2019 at 1:12 pm #21095
    Anonymous
    Inactive

    Sounds like composer may be missing …

    March 7, 2019 at 5:16 am #21165
    Dalibor Omglol
    Participant

    Can’t activate 3.2.6 via this method. Tried to change “return false;” -> “return true;” but no luck. Also tired “return false;” -> “return 8;” no luck. Any idea?

    March 31, 2019 at 6:52 am #21233
    Kool Pal
    Participant

    Landed here due to the same issue. Can anyone help?

    May 27, 2019 at 5:26 pm #21388
    Jack Catch
    Participant

    Same here, anyone have any luck?

    May 30, 2019 at 2:08 am #21395
    Vincent Vu
    Participant

    i’ve got the latest and all activated…

    July 3, 2019 at 4:21 am #21477
    dipperdolphin
    Participant

    How? I keep getting an error on line 19.

    July 3, 2019 at 4:43 am #21478
    dipperdolphin
    Participant

    Found out, got it working. You need to run composer require in order to download the vendor files that WP Rocket relies on.

    July 3, 2019 at 5:05 am #21479
    Dalibor Omglol
    Participant

    Can you please write short tutorial how to do that? THank you!

    July 3, 2019 at 5:06 am #21480
    dipperdolphin
    Participant

    https://github.com/wp-media/wp-rocket#composer-installation

    https://getcomposer.org/download/

    July 6, 2019 at 11:49 am #21488
    Dalibor Omglol
    Participant

    Can’t make it work: https://i.imgur.com/FPfqLGi.png

    July 6, 2019 at 11:56 am #21489
    dipperdolphin
    Participant

    Try using composer install –no-dev. You want to install only production files.

    That worked for me. :D

    September 9, 2019 at 11:25 am #21672
    PureVelvet
    Participant

    Andy tutorials how it works?
    dipperdolphin what to enter in detail into the console?

  • Author
    Posts
Viewing 30 posts - 1 through 30 (of 37 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In
Search the Repository
We reward your Donations!
We need your Donation to maintain and grow the GPLDL WordPress Repository - and we reward your generosity with Premium Memberships allowing you to download even more files.

Learn more about donations & rewards...
News from our blog
  • What is the Battle Between WordPress’s Matt Mullenweg and WP Engine about?
    October 31, 2024
  • Why GPLDL Cannot Accept Your WordPress Plugin or Theme Submission
    February 20, 2024
  • How to Ensure Your WordPress Plugin or Theme is Authentic and Secure
    January 25, 2024
Latest Updates & Additions
  • GPLDL News: 108 Updates & Additions today – Download 2842 Premium WordPress items!
    May 2, 2025
  • GPLDL News: 176 Updates & Additions today – Download 2840 Premium WordPress items!
    April 27, 2025
  • GPLDL News: 88 Updates & Additions today – Download 2838 Premium WordPress items!
    April 21, 2025
Free Downloads?

Most of the WordPress Plugins & Themes in the GPLDL repository are available for free download - yes, free! - that is even better than buying at a discount, rebate, promotion or with a coupon code.

After signing up for a free membership, you will instantly get a download link to GPLDL's WordPress plugins and themes including future updates.

Where is the catch? There is none. We re-distribute 100% exact copies of GPL-licensedWordPress items, completely unmodified - that means *not* nulled, cracked or otherwise modified code without any serial numbers, API keys or support.

How can you help? If you like our service, please spread the word. If you can afford to financially support us, please make a donation. All donations will be used for (recurring) subscriptions of WordPress plugins & themes and to grow the catalog!

Tags
authenticity check code collaboration commercial copyleft Copyright developers distribution Download Extensions fork Free fsf functions.php GNU Public License GPL Guide HowTo Instructions Legal license malware Modify nulled open source Plugin Plugins Premium redistribution remove Rights secure Security serial Software software development Themes tutorial Update Website WooCommerce wordpress WordPress Plugins WordPress Themes
Welcome to GPLDL!
scr02We love innovation and we believe in free software!

That's why we strive to make the world's best Premium WordPress Themes & Plugins and WooCommerce Extensions & Themes available for everyone!

Find us on:

FacebookTwitterRssPinterestWebsite
Latest Blog Posts
  • What is the Battle Between WordPress’s Matt Mullenweg and WP Engine about?
    October 31, 2024
  • Why GPLDL Cannot Accept Your WordPress Plugin or Theme Submission
    February 20, 2024
  • How to Ensure Your WordPress Plugin or Theme is Authentic and Secure
    January 25, 2024
Latest Updates & Additions
  • GPLDL News: 108 Updates & Additions today – Download 2842 Premium WordPress items!
    May 2, 2025
  • GPLDL News: 176 Updates & Additions today – Download 2840 Premium WordPress items!
    April 27, 2025
  • GPLDL News: 88 Updates & Additions today – Download 2838 Premium WordPress items!
    April 21, 2025
About GPLDL
  • About GPLDL
  • Need Help?
  • F.A.Q.
  • Terms of Service
  • Privacy Policy
  • Contact
GPLDL - all Rights reserved.
  • About GPLDL
  • Need Help?
  • F.A.Q.
  • Terms of Service
  • Privacy Policy
  • Contact
  • Sign In
GPLDL Widget Menu