While trying to Upload the theme:
If you’re seeing this confusing WordPress error when trying to upload the theme, it means the process breaks at some point and that’s most probably due to a few server settings limiting resources for your site. For example, the maximum upload size could be set to 4MB and the theme’s package is larger than that. This isn’t a bug but a matter of server settings.
There are two ways to solve the issue:
- Reach out to your hosting company and ask them to increase the upload size limit and the PHP memory allocated for your site. Recommended PHP configuration limits are explained in this article Kalium Theme Server Requirements.
- Connect to the server and manually do it yourself: How to increase memory allocated to PHP (if your server allows that).
While trying to Activate your theme (valid for Kalium only):
If you encounter this error while you try to activate the theme then there is a chance that your WP Remote Get is not activated on your server, to read more about this issue please visit this article Cannot activate the theme.
The latest WordPress version has changed the error notice, now this error appears “The link you followed has expired. Please try again.” which basically happen for the same reasons.