I am attempting to activate an install with a Purchase code that is active and has no other domains connected to it, but when I attempt to activate it with this Purchase code I am met with an error stating, "The purchase code is invalid or it has expired".
I am aware of the localhost SSL bug and added the "curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);" below the "curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);". This did not correct the issue.
I am getting the following warnings in my error log.
[18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "valid" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 61 [18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "valid" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 63 [18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "valid" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 70 [18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "domainRegistered" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 71
Are you maybe using Let's Encrypt for an SSL certificate? If you are, please update it because their certificate expired on the 1st of October, 2021.
Reach out to your hosting provider, and ask them to update the certificate. Even though the certificate could say that it's valid until 2022, or 2023, please check Let's Encrypt's official notice about this change.
To bypass this, you can go to file ../wp-content/ameliabooking/src/Application/Commands/Activation/ActivatePluginCommandHandler.php and on line 51 you'll see this:
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); Below that line, add this:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); And it will bypass the SSL issue, and activate the license.
Please note, though, that if you migrate the site in the future, and the SSL certificate is not updated, you'll need to add this line again.
Thank you this canned response. But I you took the time to actually read my ticket you would have noticed that this was already done and did not solve this issue.
My apologies for the previous response, I missed that part of your query.
Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
Once again, Please review my content from when I first opened this ticket, See attached. Also, please review this ticket https://tmsplugins.ticksy.com/ticket/3213871, which has had the same issue as what I am having now, but the solution is no longer working.
Side note: I can tell your initial response was canned because you never updated it from the previous ticket when I mentioned that you are missing "plugins" in your path to the "ActivatePluginCommandHandler.php" file. Also attached.
No need. I took another look and found that this latest version of the plugin line 53 already contains "curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, apply_filters( 'amelia/curlopt_ssl_verifypeer', 1 ));" in file ActivatePluginCommandHandler.php. So I didn't need to manually add the line, "curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);" from your old canned response. I just need to change the "1" to "0", which I did and I was able to activate the plugin.
I would recommend updating your canned response to simply finding this code on line 53 and changing the "1" to "0".
I am attempting to activate an install with a Purchase code that is active and has no other domains connected to it, but when I attempt to activate it with this Purchase code I am met with an error stating, "The purchase code is invalid or it has expired".
I am aware of the localhost SSL bug and added the "curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);" below the "curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);". This did not correct the issue.
Attached files: Screenshot 2023-05-18 005352.png
Screenshot 2023-05-18 005456.png
I am getting the following warnings in my error log.
[18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "valid" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 61
[18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "valid" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 63
[18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "valid" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 70
[18-May-2023 06:23:23 UTC] PHP Warning: Attempt to read property "domainRegistered" on null in C:\laragon\www\jet-cutcloud\wp-content\plugins\ameliabooking\src\Application\Commands\Activation\ActivatePluginCommandHandler.php on line 71
Hello Kenneth,
Thank you for reaching out to us.
This could be an issue with the SSL certificate.
Are you maybe using Let's Encrypt for an SSL certificate? If you are, please update it because their certificate expired on the 1st of October, 2021.
Reach out to your hosting provider, and ask them to update the certificate. Even though the certificate could say that it's valid until 2022, or 2023, please check Let's Encrypt's official notice about this change.
To bypass this, you can go to file ../wp-content/ameliabooking/src/Application/Commands/Activation/ActivatePluginCommandHandler.php and on line 51 you'll see this:
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); Below that line, add this:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); And it will bypass the SSL issue, and activate the license.
Please note, though, that if you migrate the site in the future, and the SSL certificate is not updated, you'll need to add this line again.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you this canned response. But I you took the time to actually read my ticket you would have noticed that this was already done and did not solve this issue.
Hello Kenneth,
My apologies for the previous response, I missed that part of your query.
Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Once again, Please review my content from when I first opened this ticket, See attached. Also, please review this ticket https://tmsplugins.ticksy.com/ticket/3213871, which has had the same issue as what I am having now, but the solution is no longer working.
Side note: I can tell your initial response was canned because you never updated it from the previous ticket when I mentioned that you are missing "plugins" in your path to the "ActivatePluginCommandHandler.php" file. Also attached.
Attached files: 2023-05-18-09-09-20.png
2023-05-18-09-26-13.png
Hello Kenneth,
My apologies for being unclear and for the misunderstanding.
I have updated the response for the SSL issue, thank you for pointing that out to us.
I will have this checked with our developers and provide you with the solution for this.
Thank you for your patience.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
No need. I took another look and found that this latest version of the plugin line 53 already contains "curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, apply_filters( 'amelia/curlopt_ssl_verifypeer', 1 ));" in file ActivatePluginCommandHandler.php. So I didn't need to manually add the line, "curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);" from your old canned response. I just need to change the "1" to "0", which I did and I was able to activate the plugin.
I would recommend updating your canned response to simply finding this code on line 53 and changing the "1" to "0".
Hello Kenneth,
Thank you very much for sharing this with us.
I will update this to help users with this issue in the future.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables