![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: class-envato-protected-api.php
-
AuthorPosts
-
January 7, 2021 at 2:44 pm #1270870
Today I wanted to update old Theme enfold with a new one (old one “had issues” with newer PHP version). While istalling the Theme I got an error:
Warning: Illegal string offset ‘http_code’ in /****/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307Warning: Invalid argument supplied for foreach() in /****/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49
and additional information that “style.css” is missing.
Any suggestions on how to solve the issue?
January 8, 2021 at 1:19 pm #1271039Hey GabrielMaks,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardJanuary 8, 2021 at 2:11 pm #1271063Hello,
Thanks for a reaction. In the private section, I will share with you the necessary data. I would be grateful for any remarks regarding farther steps need and/or ideas on fixing the issue.Best Regards
GabrielJanuary 10, 2021 at 5:59 am #1271290Hi,
Thanks for the login details. I see that you are running an old version of the theme, could you try to update to the latest version (4.7.6.4) to see if that helps please? The update to 4.7.x has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or use a plugin to upload the theme zip file: https://wordpress.org/plugins/update-theme-and-plugins-from-zip-file/
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
RikardDecember 8, 2023 at 5:48 pm #1427596This reply has been marked as private.December 8, 2023 at 9:16 pm #1427605Hi,
I see that you are using Enfold v4.0.5 with WordPress v6.4.2
This is a very old version of Enfold that is not compatible with WordPress v6+
Unfortunately a while back Envato (Theme Forest) changed how updates are done and the old API will no longer work. So you will need get the latest version from your Envato account and manually update, then after you update you can create a Envato Token in your Theme Forest account so that future updates can be done easily, but your current version will not work with the Envato Token.
To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
then you will see the Theme updated successfully message.
Best regards,
MikeDecember 11, 2023 at 8:36 am #1427745Hi!
Thanks your reply why need pay for a new theme?
I purchased the license forever, right?
Waiting for your reply!
Regards
TamasDecember 11, 2023 at 10:51 am #1427755Hi,
Thank you for the update.
You don’t need to buy a new license. Just download the latest version of the theme from your Themeforest account, then update the theme manually via FTP as suggested above. Please check the documentation below for more information on how to update the theme manually via FTP.
// https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.