Tagged: Invalid argument., Yoast SEO
-
AuthorPosts
-
April 12, 2014 at 10:12 pm #250580
Hi Enfold People!
The last update has given me a error upgrade.php line 208 in WordPress?
Any ideas?(Latest WP and everything is updated).
April 14, 2014 at 6:52 pm #251251Hey Peter!
What’s the error ?, try to upload it via ftp if you happen to get the same error after trying again.
Best regards,
DavidApril 26, 2014 at 6:27 pm #256646Hi David,
The full error msg:
Warning: Invalid argument supplied for foreach() in /home/www/mysite.dk/wp-includes/update.php on line 295I compared all files (v. 2.7.) and found NADA (Also FTP’ed a fresh version)
I swapped theme to another and something else pop up… That error was fixed with the SEO conflict in another topic!
Back to the update.php…??
It happens whenever I update plugins or Enfold?Best regards
Peter
- This reply was modified 10 years, 7 months ago by Netzie.
April 26, 2014 at 6:50 pm #256656Hi Peter,
That error seems to be appearing due to a conflict with a SEO plugin:
http://wordpress.org/support/topic/warning-invalid-argument-supplied-for-foreach-updatephp-on-line-267Best regards,
JosueApril 27, 2014 at 11:16 am #256771HI Josue,
Thanks for your research and answer
What is there to do then?
I google’ed the foreach() and found something about that the error could be caused be a foreach that is not an array?
I am not a programmer… But maybe somewhere in the code there is a missing array?
(Strangely enuf… I have another client with Enfold and SEO by Yoast and this error is not there?).Have a nice day
Peter
Herbalife Distributor since 1995
BizDoktor
Work From HomeApril 27, 2014 at 9:58 pm #256862Hi,
I deleted Yoast SEO Plugin….
Still gets this Error: (Every time I just check for updates!!?
Warning: Invalid argument supplied for foreach() in /home/www/mysite.com/wp-includes/update.php on line 295Please advise
April 30, 2014 at 11:38 pm #258584Hi!
Please download a fresh WordPress here – https://wordpress.org/download/
and replace update.php file that is inside wp-includes folder via FTPCheers!
YigitMay 1, 2014 at 1:25 pm #258831Hi Yigit,
I already did a FULL compare with my local copy – MATCH
On your word I downloaded a new WP and compared to local and online – MATCH
Cheers!Peter
May 2, 2014 at 5:53 am #259200Hi Peter,
Does it happen with the default WordPress theme?
Cheers!
JosueMay 2, 2014 at 9:39 am #259250Hi Josue,
Nope… I change to Twenty Forteen and the error is gone…
I activate Enfold again… And Error shows up again :-(May 6, 2014 at 8:04 am #260608Hi!
Maybe it’s an issue with the Envato download api. Try to add this line to the functions.php file:
add_theme_support('avia_manual_updates_only');
to deactivate the automatic updates.
Cheers!
PeterMay 9, 2014 at 11:52 am #262310Hi Dude!
That made it worse… Now I see the error twice :)
I added the code to line 238
Right after
add_theme_support( ‘automatic-feed-links’ );
Even the PUSHED/FORCED WP 3.9 with the newest Enfold… SAME!! :-(May 10, 2014 at 5:31 am #262708Hey!
Thank you for using the theme!
You said that “I swapped theme to another and something else pop up”, is this another error? We can assume that a plugin is causing the issue since both theme are experiencing errors. Regretfully, we cannot provide support for third party plugins or scripts as stated on our support policy. Any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not included on the theme package will need to be directed to the plugin author. Please try to open a ticket on WP SEO forum and wordpress.org community.
On another note, do you have a cache plugin? Please try to empty cache.
Cheers!
IsmaelMay 10, 2014 at 4:35 pm #262787Hey Ismael,
No Cache plugin is in used or installed?
But I think I found the problem. – Thanks for pointing me in the right direction!
The site is an upgrade from another theme and back then they uses “WPBakery Visual Composer”.
Until now… It worked fine in combi… But it’s time to let go!! – I will start converting the old Bakery code to Enfold code style!! (Any tips?)Have a nice weekend
Peter
May 12, 2014 at 5:23 am #263122Hey!
Thank you for the update. Glad we could help somehow.
I’m sorry but the shortcodes use on the WPBakery Visual Composer plugin is quite different from the avia builder shortcodes. We won’t be able to help you with it.
Regards,
IsmaelMay 12, 2014 at 3:52 pm #263319Arrrggghhhhh GRUMPF!!! I was wrong….
I now deacrivated WPBackery plugin and spend hours converting the codes!!
And the error popup again:
Warning: Invalid argument supplied for foreach() in /home/www/mysite.dk/wp-includes/update.php on line 295I then deactivated ALL plugins! To find the guilty party…. NONE!!
I massage the WP by clicking around on all different things and function… When I click on Check for updates … The error is back!
ON WP and Enfold is now active!!! :-(
(Sorry to the WPBackery lads)
I then activated Twenty-Fourteen theme…. Same error??? WHAT!”!!
Hmmmm someone has any ideas of anything?
(Now WP 3.9.1 DA)Ghost in the machine!! :)
May 12, 2014 at 4:34 pm #263350Pyyyiiii :-)
I hope I got it now!
With nowhere to point the finger… I turned to my hosts server… Hmmm PHP 5.5 —> Set back to PHP 5.4
Checked the Memory settings, sessions etc. All was ok!
Activated Enfold – OK
Activated all plugins – Ok
Error gone!!
I am singing from the treetops!! Praise the Lord! -
AuthorPosts
- The topic ‘Latest update give an WP error in Upgrade line 208’ is closed to new replies.