Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #933766

    Hi,

    I am not able to update Enfold, and am seeing these error messages on screen:

    Warning: Illegal string offset ‘http_code’ in /var/www/html/bits/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307

    Warning: Illegal string offset ‘api_error’ in /var/www/html/bits/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307

    Warning: Invalid argument supplied for foreach() in /var/www/html/bits/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49

    Warning: Illegal string offset ‘http_code’ in /var/www/html/bits/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307

    Warning: Illegal string offset ‘api_error’ in /var/www/html/bits/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307

    Warning: Invalid argument supplied for foreach() in /var/www/html/bits/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49

    I also have recently updated my VM (CentOS 7.4) to use PHP version 7.1, and ran into major issues that I was finally able to work out. I wouldn’t rule out that I may need to install some other PHP modules.

    I am currently on Enfold 4.2.3. Any help or tips would be greatly appreciated.

    Thanks,

    Karl

    #934081

    Hey Karl,

    You need to hide the debug output from the users, here is how to do it:

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #934428

    Hey Victoria,

    Thanks for your help. Turning off WP_DEBUG and WP_DEBUG_LOG does not show or log the error messages, but it still doesn’t help me to upgrade.

    As mentioned, I am currently on version 4.2.3, and would like to get to the current version. I see that you have done some improvements with WPML, and will be implementing that into my project next.

    I tried to do a manual update using the directions published at Easy Theme and Plugin Upgrades, but was unsuccessful.

    My question now is: How do I get Enfold to the version 4.2.6 and be able to update to 4.2.7 after it is released?

    Thanks,

    Karl

    #934692

    Hi Karl,

    You can find instructions on how to update manually via FTP here: http://kriesi.at/documentation/enfold/updating-your-theme-files/. If that doesn’t work then please post admin login details in private so that we can have a closer look. You might want to include FTP login details as well as we might need those too.

    Best regards,
    Rikard

    #934952

    Hi Rikard,

    I have tried the manual update by downloading and overwriting the directory, and now get this message:

    Fatal error: Cannot redeclare av_countdown_events_fallback() (previously declared in /var/www/html/bits/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.php:14) in /var/www/html/bits/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.php on line 12

    I also am not even able to log into the dashboard again either, so I need to declare another theme as active to get there again.

    The machine I am using is not public, it is a VM in my home network, and is serving as my development box. I won’t be able to provide you with login details either. I don’t have an issue removing the enfold directory from the themes folder and restarting, if that is an option. Unless you have a quick fix for the error message this is the rout I am considering and at the moment would prefer.

    Let me know what would be the best route to take, but remember, this is a development machine, so deleting and starting over is an option.

    Thanks for your help.

    Karl

    #934970

    Hi Rikard,

    Here’s a quick update: I have commented out the function declaration in events_countdown.php from lines 12 to 16, and now I’m back in business.

    Things are working again.

    Karl

    #934977

    Hi,

    I’m glad that you got this corrected. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Update not possible, error message on screen’ is closed to new replies.