- This topic has 7 replies, 6 voices, and was last updated 4 months, 1 week ago by kevin langlois.
-
AuthorPosts
-
January 29, 2019 at 4:47 pm #20977PureVelvetParticipant
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 #21323simone benerecettiParticipanthow can you solve it?
February 21, 2022 at 10:07 am #23873neededParticipantstill no solution?
March 1, 2022 at 4:26 am #23889Jorge ReyParticipantThe 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 #23982HappyCParticipantHow do I find an older versione of WPML?
April 20, 2024 at 9:59 pm #26061Rodrigo Da Silva MouraParticipantTo 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”>
<?phpnamespace 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 7 months, 2 weeks ago by Rodrigo Da Silva Moura. Reason: Remove tags
April 29, 2024 at 4:20 pm #26081mohsen samaniParticipantNot Working…
July 27, 2024 at 6:34 pm #26153kevin langloisParticipantYou 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…
-
AuthorPosts
- You must be logged in to reply to this topic.