Tagged: error update, Update fail
-
AuthorPosts
-
September 12, 2018 at 11:32 am #1008858
Hi
I am getting this error message when I try to update enfold from the WP admin. I know I can do it via FTP, but can you see what’s wrong here?Updating Theme Enfold (1/1)
Warning: preg_match() expects parameter 2 to be string, array given in /customers/a/a/a/marlowfilm.dk/httpd.www/wp-admin/includes/class-wp-upgrader.php on line 258 Warning: file_exists() expects parameter 1 to be a valid path, array given in /customers/a/a/a/marlowfilm.dk/httpd.www/wp-admin/includes/class-wp-upgrader.php on line 258 Warning: strip_tags() expects parameter 1 to be string, array given in /customers/a/a/a/marlowfilm.dk/httpd.www/wp-admin/includes/class-bulk-upgrader-skin.php on line 61 Downloading update from …
Warning: parse_url() expects parameter 1 to be string, array given in /customers/a/a/a/marlowfilm.dk/httpd.www/wp-admin/includes/file.php on line 970 Warning: preg_split() expects parameter 2 to be string, array given in /customers/a/a/a/marlowfilm.dk/httpd.www/wp-includes/kses.php on line 1325 Warning: strtolower() expects parameter 1 to be string, array given in /customers/a/a/a/marlowfilm.dk/httpd.www/wp-includes/http.php on line 517 Warning: strtolower() expects parameter 1 to be string, array given in /customers/a/a/a/marlowfilm.dk/httpd.www/wp-includes/http.php on line 517
An error occurred while updating Enfold: Download failed. A valid URL was not provided.thanks
NancySeptember 12, 2018 at 10:34 pm #1009093Hey Munford,
What FTP version are you running on, can u tell us please?
Best regards,
BasilisSeptember 14, 2018 at 10:03 am #1009843not sure –
September 15, 2018 at 12:40 pm #1010101Hi,
This is a known bug in the Envato update api. We found a fix/workaround for it on our end and we’ll include it with the next update. You can add this fix manually – use the theme editor (Appearance > Editor) and edit Enfold. Go to enfold/framework/php/auto-updates/ and open the class-pixelentity-theme-update.php file. Clear the entire file (remove the code) and copy the entire code from here https://pastebin.com/raw/epetJ1SG into the blank file. Afterwards save the file and the update should work.
You can also use ftp to update the file. Save the code from here: https://pastebin.com/raw/epetJ1SG to a file called class-pixelentity-theme-update.php. Then connect to your server via ftp, go to the directory wp-content/enfold/framework/php/auto-updates/ and overwrite the class-pixelentity-theme-update.php with the updated file you created before.
Best regards,
PeterSeptember 17, 2018 at 6:42 am #1010587Hi
I am getting the same error on two of the websites I designed with Enfold.“An error occurred while updating Enfold: Download failed. A valid URL was not provided.”
I tried the fix suggested above – pasting new code in the class-pixelentity-theme-update.php file in Editor but the update is still not going through. I don’t have a child theme set up on this website – do I need to set one up for this to work? Peter mentioned in his response above that the new Enfold update will include a fix – how far away is this? Wondering if it is worth waiting for the update ;)
Thank you
PetaSeptember 17, 2018 at 9:04 am #1010621Hi,
@peta_moonstone – please create me an admin account and I’ll modify the file for you.Wondering if it is worth waiting for the update ;)
You need to modify the file even if you just want to install the next update via wordpress. The only other solution would be update the theme via ftp. We’ve no ETA for the next update yet but I guess we’ll release it this or next month.
Best regards,
PeterSeptember 17, 2018 at 9:30 am #1010630Thank you Peter, I have set up an admin account for you.
Can you please let me know what I was doing wrong – I’ll need to update the other Enfold sites I manage as well.
Thanks again.
PetaSeptember 17, 2018 at 9:35 am #1010631Hi,
Please post the website url :)
Best regards,
PeterSeptember 17, 2018 at 9:35 am #1010632Sorry forgot the web address – in private content ;)
September 17, 2018 at 9:42 am #1010633Hi,
I updated the theme for you. I had to deactivate the “UpdraftPlus – Backup/Restore” plugin, then updated the theme and then re-activated the plugin.
Best regards,
PeterSeptember 17, 2018 at 10:01 am #1010640Hey Dude, can you do that for my site as well???
Afraid of making a mistake :)
thanks
NancySeptember 17, 2018 at 10:22 am #1010644Hi,
I updated Enfold for you :)Best regards,
PeterSeptember 17, 2018 at 10:23 am #1010645thanks very much for your help!
regards
NancySeptember 17, 2018 at 10:23 am #1010647Thank you so much Peter! Really appreciate the help.
Cheers
PetaSeptember 17, 2018 at 10:25 am #1010651Hi,
Glad I could help you :)
Best regards,
PeterSeptember 17, 2018 at 3:00 pm #1010787This reply has been marked as private.September 17, 2018 at 6:46 pm #1010917Hi pikkuapuri,
I see that you’re using Enfold 4.4.1 and it is the latest version. Looks like you managed to update it.
Which part is not working for you?
Best regards,
VictoriaSeptember 18, 2018 at 1:07 pm #1011245This reply has been marked as private.September 18, 2018 at 1:15 pm #1011249This reply has been marked as private.September 18, 2018 at 1:56 pm #1011288Hi,
You can copy the settings from the parent theme to the child theme. Go to Enfold > Theme Options > Import/Export and click on the “Import Parent Theme Settings” button.
Best regards,
PeterSeptember 18, 2018 at 2:17 pm #1011295Oh! That’s really cool. Thanks Dude (btw The Big Lebowski is my favourite films) :)
September 18, 2018 at 2:20 pm #1011299….but even that didn’t help???
September 18, 2018 at 2:23 pm #1011302Hi,
What exactly doesn’t work now? Please try to clear the performance cache (Go to Enfold > Theme Options > Performance and set the css and js compression to disabled.If this still doesn’t solve the issue please create me an admin account and I’ll look into it.
Best regards,
PeterSeptember 18, 2018 at 2:45 pm #1011314Yep, that didi it. Don’t know, maybe the cache was stuck or something. “life goes on, man” … thanks a million!
September 18, 2018 at 3:16 pm #1011339Hi,
Great, glad it works now :)
Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.