Site logo

Archived topic

WordPress 5.9.2 not accepting GP license key

11 replies · Started by Patricia on March 11, 2022

Viewing posts 1–12 of 12

I've just created a new WordPress installation using WP v 5.9.2. I have installed GeneratePress theme and GP premium plugin (v 2.1.2). The Appearance > GeneratePress area will not accept my license key. I get this error: cURL error 7:

Although the Activate/Deactivate options are available, the only thing that displays in Customize is Widgets. I cannot control layout, etc.

The only plugin I've installed is Classic Editor. This is a clean / new WordPress installation, with nothing imported. My GP license is active.

I've gone through the steps from here: https://docs.generatepress.com/article/403-forbidden-when-activating-license-key/ I've also updated PHP to 7.4.

I've put the debug.log info below

Thanks!!

12-Mar-2022 00:28:56 UTC] ------ Start GeneratePress license key debugging ------
[12-Mar-2022 00:28:56 UTC] --- HTTP response or WP_Error object. ---
[12-Mar-2022 00:28:56 UTC] WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => cURL error 7:
)

)

[error_data] => Array
(
)

[additional_data:protected] => Array
(
)

)

[12-Mar-2022 00:28:56 UTC] --- HTTP transport used. ---
[12-Mar-2022 00:28:56 UTC] Requests
[12-Mar-2022 00:28:56 UTC] --- HTTP request arguments. ---
[12-Mar-2022 00:28:56 UTC] Array
(
[method] => POST
[timeout] => 30
[redirection] => 5
[httpversion] => 1.0
[user-agent] => WordPress/5.9.2; http://closertoearth.org
[reject_unsafe_urls] =>
[blocking] => 1
[headers] => Array
(
)

[cookies] => Array
(
)

[body] => Array
(
[edd_action] => activate_license
[license] => **
[item_name] => GP%20Premium
[url] => http://closertoearth.org
)

[compress] =>
[decompress] => 1
[sslverify] =>
[sslcertificates] => /home/www/closertoearth.org/wp-includes/certificates/ca-bundle.crt
[stream] =>
[filename] =>
[limit_response_size] =>
[_redirection] => 5
)

From the hosting company: In order to solve the issue you need to allow their IP from the control panel

IP number to allow?

Thanks!

Yes, I have the Secondary API installed as a Code Snippet. I have two other GP sites working correctly in this same hosting account and I'm baffled as to what might be causing this problem. The only difference is this one is WP 5.9.2.

Trying to troubleshoot this issue, I installed another fresh WP 5.9.2 installation under the same hosting account but associated with another domain name. GP and GP premium work perfectly. The domain name is making the difference? Does this mean your hosting service is blocking the closertoearth.org domain? The IP for this hosting account is 198.23.48.130 in case that is helpful.

All blocks are IP-based, so it wouldn't be the domain name.

What's the exact error you're getting? And when exactly does it occur?

Let me know :)

I see cURL 7 error: when I enter the license key on the Appearance / GeneratePress modules page. Would you like a login?

I've included an admin login...

OK, so I would:

1. Remove that "premium" snippet, as the issue isn't with our server.
2. Tell your hosting you're receiving that error, and that you're trying to connect with generatepress.com.

The fact the secondary API didn't work tells me they have a firewall preventing all outgoing requests, as generatepress.com and api.generatepress.com (the secondary API) are two separate servers with different IP addresses. If your website is rejecting both, I doubt it's specific to an IP.

Hopefully they're able to resolve it for you. Who are you hosted with?

After all the troubleshooting, I changed to a different theme and had the same problem. So I reinstalled WordPress core files and now it works the way it should. Apparently Speedy Mice application installed was buggy. Thanks for the great support!

Glad it's working now :)

This archived topic is closed to new replies.