Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #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 307

    Warning: 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?


    Hey 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,


    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



    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 ( 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:

    You can either update manually via FTP:, or use a plugin to upload the theme 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:

    Best regards,

    This reply has been marked as private.

    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,



    Thanks your reply why need pay for a new theme?

    I purchased the license forever, right?

    Waiting for your reply!




    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.


    Best regards,

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.