Pro Licence becomes invalid automatically

We have a problem with our installation of PRO. Every day (sometimes multiple times) our license of PRO on our WP Instance becomes invalid and needs to be revalidated. The validation works without problems, but this does not last long.
I could not find out what the problem is, but I suspect that it always happens when the Docker container is restarted.

Hi @icmr,

Thanks for reaching out about this. We’ve seen more reports of this happening recently but regretfully haven’t narrowed it down to a specific cause yet. I suspect what is happening is WordPress tries to make a network request to theme.co but that fails for some reason. Would you mind trying something?

Try adding this code to functions.php of a child theme:

add_filter( 'pre_option_x_product_validation_key', function() {
  return '2eba16f4-3557-4dc1-af65-303d8262472b'; // replace with your license key
});

That should cause the license key to always exist and prevent the it from being cleared out. Let me know after a while if that keeps the site validated. We’ll still be looking into a more permanent solution but this would help us narrow down some possibilities. Thanks!

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