Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1021801

    Hello
    I cant update to Version 4.5. following error shows up in the wordpress backend:
    link to wordpress backend after try update

    Aktualisierung des Themes Enfold (1 von 1)

    Warning: preg_match() expects parameter 2 to be string, array given in /home/rogerbau/public_html/wp-admin/includes/class-wp-upgrader.php on line 258

    Warning: file_exists() expects parameter 1 to be a valid path, array given in /home/rogerbau/public_html/wp-admin/includes/class-wp-upgrader.php on line 258

    Warning: strip_tags() expects parameter 1 to be string, array given in /home/rogerbau/public_html/wp-admin/includes/class-bulk-upgrader-skin.php on line 61
    Herunterladen der Aktualisierung von …

    Warning: parse_url() expects parameter 1 to be string, array given in /home/rogerbau/public_html/wp-admin/includes/file.php on line 970

    Warning: preg_split() expects parameter 2 to be string, array given in /home/rogerbau/public_html/wp-includes/kses.php on line 1325

    Warning: strtolower() expects parameter 1 to be string, array given in /home/rogerbau/public_html/wp-includes/http.php on line 517

    Warning: strtolower() expects parameter 1 to be string, array given in /home/rogerbau/public_html/wp-includes/http.php on line 517
    Beim Aktualisieren von Enfold ist ein Fehler aufgetreten: Download fehlgeschlagen. Es wurde keine gültige URL übermittelt.

    Abschalten des Wartungsmodus …

    Alle Aktualisierungen wurden vollständig durchgeführt.

    Go Back to Enfold Child Theme Panel

    thanks for your help
    kind regards
    Roger Baumann

    #1021814

    Hi Roger

    There is no easy solution yet, please refer to this thread which already has a lot of discussion going on:

    Regards from Zurich
    Michael

    #1021904

    Hi,
    Theme Forest has changed their API for Token keys, v4.5 fixes this, it is recommend to update manually.
    There is a free plugin that will allow you to manually update via the WordPress Theme panel by uploading the enfold.zip file, otherwise you can update via FTP, please remember to delete the current enfold folder and then upload the new one. Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.
    My recommendation is to go to your Theme Forest account and download the updated Enfold v4.5 and manually update it, then going forward it will use the new Token keys. All users will need to generate a new token for updates.
    Please let us know if you would like some help updating.

    Best regards,
    Mike

    #1022121

    Hey @Mike

    Thanks a lot – will try updating via FTP shortly.

    Quick question: I have several customer websites but can always use the exact same “enfold.zip” to upload the theme, correct? Or are the download files of different Enfold licences somehow different?

    Thanks in advance
    Michael

    #1022164

    Updating from 4.4.1 to 4.5 via (S)FTP manually works like a charm

    However, the steps to get there are quite a lot. Let me describe it step-by-step here:
    1) Make a full backup of your website using a backup plugin.
    2) Safe the backup somewhere outside from the webserver of your website (e.g. on your local computer or in any cloud storage you trust).
    3) Sign out from your WordPress website.
    4) Go to your themeforest account, sign in and download the updated Enfold v4.5 to your computer. Extract it and search for the file enfold.zip. Extract this file as well to already have your folder ready to be uploaded.
    5) Sign in to FTP or SFTP using FileZilla or any other tool which is able to do that.
    6) Go to the folder ./wp-content/themes and search for “enfold”. If you want, you can download the enfold folder to your computer as well (just in case you want to restore if afterwards which is easier like that than using the whole backup).
    7) Delete the folder enfold via FTP. This may take 5-10min, depending on the server speed obviously.
    8) Wait until it is finished and the enfold folder is gone. If that is the case, upload the “new” enfold folder including v4.5 to your website in the same directory.
    9) Sign in to your WordPress website again and go to the Enfold tab (or the one from your child theme). Scroll down to the tab called Theme Update.
    10) Your current API token will not work anymore as Envato changed some stuff on their API. Therefore you need to remove your current key and generate a new private key as visible in your themeforest account under “Settings” -> “API keys”. Go to https://build.envato.com and follow the steps there. To me, https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#toggle-id-5 was also very helpful (scroll down a bit there to find out about the permissions your private API key needs in order to check for future Enfold updates). Without these permissions it will not work.
    11) After revalidating your new private key within the Enfold update tab, you should see a blue rectangle saying when it could be checked for the last time.
    12) Done!

    I hope this helps anybody who has/had issues with updating Enfold to version 4.5.
    Feel free to ask me in case you need any assistance.

    #1022185

    Hi,
    @michaelH thanks for sharing the detailed steps, I’m sure this will be very helpful.
    To answer your question, you can use the same enfold.zip on all of your sites, but I believe the token needs to be different for each site.

    Best regards,
    Mike

    #1025630

    Hi
    Thanks michael for detailed steps and for your help. All works fine now.
    kind regards
    Roger

    #1025633

    You are very welcome Roger!

    #1025757

    Hi,

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

    Best regards,
    Jordan Shannon

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Cant update to Enfold version 4.5’ is closed to new replies.