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  

WPML License Check deactivation

  • This topic has 9 replies, 8 voices, and was last updated 4 days, 6 hours ago by hadawex hdrlog.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • January 29, 2019 at 4:47 pm #20977
    PureVelvet
    Participant

    Hello there! :)

    I installed WPML but I alway have to enter a license key before set it up furthermore.
    Can you may help me to bypass it?

    Thank you very much and kind regards

    April 30, 2019 at 10:51 am #21323
    simone benerecetti
    Participant

    how can you solve it?

    February 21, 2022 at 10:07 am #23873
    needed
    Participant

    still no solution?

    March 1, 2022 at 4:26 am #23889
    Jorge Rey
    Participant

    The same thing happened to me too, it’s a problem with the new version 4.5 and its wizard that doesn’t let you skip the license, it’s mandatory.
    To try to fix it, I did the following.

    – Uninstall and delete the WPML 4.5.3 tables, from the WordPress panel
    – Install an old version of WPML, for example v4.4.8
    – Configure the installation of WPML 4.4.8, leaving the license disabled in its own wizard.
    – Update WPML again to its latest version 4.5.3.

    May 9, 2022 at 5:49 pm #23982
    HappyC
    Participant

    How do I find an older versione of WPML?

    April 20, 2024 at 9:59 pm #26061
    Rodrigo Da Silva Moura
    Participant

    To bypass this step and continue with the subsequent steps. After that, skip the support step by selecting the ‘no’ option.

    In the plugin folder. Replace the existing content of the LicenceStep.php file located in the classes/setup/endpoints/ directory with the provided code.

    <abbr title=”HyperText Markup Language”>
    <?php

    namespace WPML\Setup\Endpoint;

    use OTGS_Installer_Subscription;
    use WPML\Ajax\IHandler;
    use WPML\API\Sanitize;
    use WPML\Collect\Support\Collection;
    use WPML\FP\Either;
    use WPML\FP\Right;
    use WPML\FP\Left;
    use WPML\Plugins;

    class LicenseStep implements IHandler {
    const ACTION_REGISTER_SITE_KEY = ‘register-site-key’;
    const ACTION_GET_SITE_TYPE = ‘get-site-type’;

    public function run( Collection $data ) {
    $action = $data->get( ‘action’ );
    switch ( $action ) {
    case self::ACTION_REGISTER_SITE_KEY:
    return $this->register_site_key( $data );
    case self::ACTION_GET_SITE_TYPE:
    return $this->get_site_type();
    default:
    return $this->unexpectedError();
    }
    }

    private function register_site_key( Collection $data ) {
    // Mocking the return value to always be true
    return Right::of([
    ‘isTMAllowed’ => true,
    ‘msg’ => __( ‘Thank you for registering WPML on this site. You will receive automatic updates when new versions are available.’, ‘sitepress’ ),
    ]);
    }

    private function get_site_type() {
    // Mocking the return value for site type
    return Right::of(OTGS_Installer_Subscription::SITE_KEY_TYPE_PRODUCTION);
    }

    private function unexpectedError() {
    return Left::of(
    __( ‘Server error. Please refresh and try again.’, ‘sitepress’ )
    );
    }
    }

    private function register_site_key( Collection $data ) {
    // Mocking the return value to always be true
    return Right::of([
    ‘isTMAllowed’ => true,
    ‘msg’ => __( ‘Thank you for registering WPML on this site. You will receive automatic updates when new versions are available.’, ‘sitepress’ ),
    ]);
    }

    private function get_site_type() {
    // Mocking the return value for site type
    return Right::of(OTGS_Installer_Subscription::SITE_KEY_TYPE_PRODUCTION);
    }

    private function unexpectedError() {
    return Left::of(
    __( ‘Server error. Please refresh and try again.’, ‘sitepress’ )
    );
    }
    }
    </abbr>

    Type any key you want in the License Check step. This action might allow you to bypass this step.

    • This reply was modified 1 year ago by Rodrigo Da Silva Moura. Reason: Remove tags
    April 29, 2024 at 4:20 pm #26081
    mohsen samani
    Participant

    Not Working…

    July 27, 2024 at 6:34 pm #26153
    kevin langlois
    Participant

    You install a prior version like 3.3.3 and you set it, then you put the new version and it bypass the need of the site key…

    April 29, 2025 at 2:11 am #26413
    Laura Núñez
    Participant

    Type any key you want in the License Check step. This action might allow you to bypass this step.

    May 5, 2025 at 2:14 pm #26418
    hadawex hdrlog
    Participant

    Comprehensive Guide to Cracking the WPML Plugin and Removing Associated Notifications

    “You are using an unregistered version of WPML and are not receiving compatibility and security updates. ”

    Path:classes/setup/endpoints/licencestep.php
    Instruction: Replace the contents of Licencestep.php with the following code:

    <?php

    namespace WPML\Setup\Endpoint;

    use OTGS_Installer_Subscription;
    use WPML\Ajax\IHandler;
    use WPML\API\Sanitize;
    use WPML\Collect\Support\Collection;
    use WPML\FP\Either;
    use WPML\FP\Right;
    use WPML\FP\Left;
    use WPML\Plugins;

    class LicenseStep implements IHandler {
    const ACTION_REGISTER_SITE_KEY = ‘register-site-key’;
    const ACTION_GET_SITE_TYPE = ‘get-site-type’;

    public function run( Collection $data ) {
    $action = $data->get( ‘action’ );
    switch ( $action ) {
    case self::ACTION_REGISTER_SITE_KEY:
    return $this->register_site_key( $data );
    case self::ACTION_GET_SITE_TYPE:
    return $this->get_site_type();
    default:
    }

    return $this->unexpectedError();
    }

    private function register_site_key( Collection $data ) {
    $site_key = Sanitize::string( $data->get( ‘siteKey’ ) );
    icl_set_setting( ‘site_key’, null, true ); // Clear existing key

    // Bypass external validation and accept any key
    icl_set_setting( ‘site_key’, $site_key, true ); // Save the key locally
    $isTMAllowed = Plugins::updateTMAllowedOption(); // Update TM option

    return Right::of(
    [
    ‘isTMAllowed’ => $isTMAllowed,
    ‘msg’ => __( ‘Thank you for registering WPML on this site. You will receive automatic updates when new versions are available.’, ‘sitepress’ ),
    ]
    );
    }

    private function get_site_type() {
    // Return production type to avoid restrictions
    return Right::of( OTGS_Installer_Subscription::SITE_KEY_TYPE_PRODUCTION );
    }

    private function unexpectedError() {
    return Left::of(
    __( ‘Server error. Please refresh and try again.’, ‘sitepress’ )
    );
    }
    }

    —

    Next Step:
    Use any site key you want – it will work.

    —

    Optional (to hide the registration error notice):

    “You are using an unregistered version of WPML and are not receiving compatibility and security updates. ”

    Add the following PHP snippet using a snippet plugin:

    php
    add_action( ‘plugins_loaded’, function () {
    if ( class_exists( ‘\WPML\Installer\DisableRegisterNow’ ) ) {
    $disable = new \WPML\Installer\DisableRegisterNow();
    $disable->add_hooks();
    }
    } );

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • 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