Can't VALIDATE my PRO

Hi,

I can’t validate may PRO update from X.
I have recently my site hacked, and now, after fresh reinstall I can’t get activation.
After copying my new License number

I get this

What to doooo? HELP

Hi,

Thanks for writing in!

Try to re-install your theme through FTP

Please see manual updates section on the link below.

Thanks

Nope, re-install didn’t worked

Hello @KRUChY,

​To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? To do this, you can create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Thank you.

OK, take a look

Hi @KRUChY,

It requires authentication, please provide that credentials too.

And please change your assigned URL in your license without WWW. It’s because your site’s URL has WWW and it may not validate or matches (sometimes).

Thanks!

license changed

Hi There @KRUChY

Upon testing your issue further, I’m getting the following error when validating your site.
cURL error 28: Connection timed out after 10001 milliseconds

First make sure that your PHP cURL extension is enabled and functioning properly on your server. If the cURL extension is already enabled, then setup a child theme using the following guide (https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57) and then try adding the following code into your child theme’s functions.php file and see if you can validate your theme.

//adjustments to wp-includes/http.php timeout values to workaround slow server responses
add_filter('http_request_args', 'bal_http_request_args', 100, 1);
function bal_http_request_args($r) //called on line 237
{
	$r['timeout'] = 15;
	return $r;
}
 
add_action('http_api_curl', 'bal_http_api_curl', 100, 1);
function bal_http_api_curl($handle) //called on line 1315
{
	curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 15 );
	curl_setopt( $handle, CURLOPT_TIMEOUT, 15 );
}

Let us know how it goes.
Thanks!

Added Child theme, activated, added lines in functions.php - still grey square and no validation

Hi There,

This seems to be a problem of connection between your hosting service provider and our servers. I suggest that you contact them and give them this article to follow up:

Also, while you’re at it, please ask your hosting support on how to effectively update your PHP version to 5.6 or higher.

Thanks,

my mates from servers ask:
“witch IP did this validation tries to connect to?”

Hello @KRUChY,

Thanks for updating the thread. :slight_smile:

IP address is 34.199.208.181 with is https://theme.co/ IP address.

Thanks.

OK, I’ve updated PHP to version 5.6 and everything went just fine.

so PHP ver is one of the main things in validation.

@KRUChY
I’ve just submitted my own request for help on this exact issue just about an hour ago: https://theme.co/apex/forum/t/auto-validation-not-working/46225

@everyone/anyone
I’m hoping that something as simple as changing my PHP version will fix my issue as well.
However, when I log in to WHM, my server packages show that they include PHP 5.6, PHP 7.0, and PHP 7.1. So, how do I ensure that WordPress and, inherently, the X theme are utilizing the version that’s going to work??

EDIT: I just verified, I’m using 5.6.41, so it doesn’t seem the PHP version is the cause of the issue I’m having…

Hello There,

Thanks for updating this thread. Please ensure that you have meet the requirements to run WordPress and that includes the PHP version. You can check the rest of the requirements from here: https://wordpress.org/about/requirements/

If you cannot change your PHP version to at least 7.0, please contact your hosting provider. They should be able to change the version in a few clicks.

Hope this helps.

Alright. I thought 5.6 was a high enough version of PHP, but I updated to 7.0 as you suggested and I was able to validate the site without any further issues. Thank you.

You’re welcome! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.