-
AuthorPosts
-
April 13, 2018 at 8:02 pm #941655
Hello Support,
I have searched the forums to find the answer to this for a while now, forgive me if I have missed something…
Each time I update plugins I get 49 Warning & 307 Warning (as below). I have contacted my host (Siteground) twice and they are convinced it is a theme issue.
I hope you can help me
Thanks Philip
…………..
‘http_code’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307 Warning: Illegal string offset ‘api_error’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307 Warning: Invalid argument supplied for foreach() in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49 Warning: Illegal string offset ‘http_code’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307 Warning: Illegal string offset ‘api_error’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307 Warning: Invalid argument supplied for foreach() in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49 Disabling Maintenance mode… Warning: Illegal string offset ‘http_code’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307 Warning: Illegal string offset ‘api_error’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307 Warning: Invalid argument supplied for foreach() in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49 Warning: Illegal string offset ‘http_code’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307 Warning: Illegal string offset ‘api_error’ in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on
line 307 Warning: Invalid argument supplied for foreach() in /home/flipkco1/public_html/capeverdeholidays/wp- content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49 All updates have been completed.April 14, 2018 at 7:04 am #941834Hey envatobunny,
Could you try updating the theme to the latest version (4.2.6) to see if that helps please? http://kriesi.at/documentation/enfold/updating-your-theme-files/
Best regards,
RikardApril 16, 2018 at 11:08 am #942499Hi Rikard,
I followed your instructions and replaced the enfold file with the freshly downloaded one but it broke the front end & wp-admin
I have added a link to DropBox screen shots of the errors plus short conversation I had with our host below
Apologies for the bit that says “they take days to respond” I was panicked and needed the site back on line ASAP.
I have restored from a backup now, so take your time ;o)
Thanks so much for the support
Best Regards
Philip
April 17, 2018 at 5:54 am #942932Hi Philip,
Thanks for that, your problems is likely due to this: https://kriesi.at/support/topic/problem-when-upgrading-to-enfold-4-2-6-i-can-not-access-the-backend/#post-938089. Could you try to perform the update again on a staging version of your site so that you won’t risk down time on your production site? That would also give us the opportunity to actually see the problem if the solution I linked to should not work out for you.
Best regards,
RikardApril 17, 2018 at 9:59 am #943026Hi Rikard,
I am a bit new to this and do not know what a staging version is or how to do it.
I see you have a notice that says ‘NEXT UPDATE Enfold 4.2.7 will be released during the first two weeks of April’ if I wait for that maybe it will iron out this bug?
If not I will try test it on the live version. Maybe delete events_countdown.php etc
I have learnt how to do a system restore after yesterdays crash ;o)
Looking forward to hearing from you
Philip
April 18, 2018 at 5:04 am #943395Hi Philip,
If you can hold off with updating then it might be a good idea to wait for the next version. A staging version is basically just a copy of your production site, where you can experiment and do updates on for instance. If you want a safe process of updating your site, then I would recommend following something like this.
Best regards,
RikardApril 18, 2018 at 10:57 am #943528Thank you for the useful link, I will have a deep read later.
I will wait for the next Enfold update. Any idea approx when that will be?
Philip
April 19, 2018 at 5:14 am #943878Hi Philip,
Great, thanks for the feedback. We were supposed to release the next version in the first part of April, but it’s been delayed a bit. We’re hoping to have it available within the next few days.
Best regards,
RikardApril 25, 2018 at 5:53 pm #946738You have released the latest version so as you suggested I tried updating through WordPress & got the following….
………………………………………………………………………………
Installing Theme from uploaded file: enfold.zip
Unpacking the package…
Installing the theme…Destination folder already exists. /home/flipkco1/public_html/capeverdeholidays/wp-content/themes/enfold/
Theme installation failed.
Warning: Illegal string offset ‘http_code’ in /home/flipkco1/public_html/capeverdeholidays/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307Warning: Illegal string offset ‘api_error’ in /home/flipkco1/public_html/capeverdeholidays/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 307
Warning: Invalid argument supplied for foreach() in /home/flipkco1/public_html/capeverdeholidays/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 49
………………………………………………………………………….
So I tried updating the theme via FTP using filezilla and I get this…
………………………………………………………………………….
Fatal error: Cannot redeclare av_countdown_events_fallback() (previously declared in /home/flipkco1/public_html/capeverdeholidays/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown/events_countdown.php:14) in /home/flipkco1/public_html/capeverdeholidays/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_countdown.php on line 12
………………………………………………………………………….
I have performed a restore in cPanel and the site is back online again, however I am truly stuck without your help.
I am happy to give you server access / pay or what ever it takes to sort this out
Look forward to hearing from you soon
Philip
April 27, 2018 at 6:15 am #947646Hi Philip,
Sorry for the problems. Please try to completely remove the entire theme folder and then upload the new version of the theme via FTP.
Best regards,
RikardApril 27, 2018 at 10:25 am #947788Hi Rikard,
Well done…. That worked!!!
Why is there a difference between FTP overwrite & delete / replace?
If doing it this way effects many people, maybe its worth changing the ‘how to install vid’ ?
Much relief anyway… Now excitedly looking at the new theme changes
Thanks again for the best theme ever!
Philip
April 27, 2018 at 1:45 pm #947937Hi,
FTP overwrite sometimes depending on the settings may not properly replace the files. Delete and replace will ensure that all files are properly uploaded and replaced.
Glad it’s sorted for you now.
Enjoy the new features :)
If you have any issue please feel free to get back to us via new ticket.
Best regards,
Vinay -
AuthorPosts
- The topic ‘Problem updating plugins – 49 Warning & 307 Warning’ is closed to new replies.