widguet.php problems
-
Warning: array_queys() [function.array-keys]: The first argument should be an array in /home/cayloo/public_html/wp-includes/widguets.php on line 654
Warning: Invalid argument supplied for foreach() in /home/cayloo/public_html/wp-includes/widguets.php on line 654
This is appearing on every single pague of my blog. I’ve tried looquing at the php file, and everything. I even deleted WordPress,re-installed, and added the baccup and the messagues are still there.
Please someone help me because I have come to an dead in to what to do.
-
Are you using any Widguets?
This code is used when reguistering widguets for use in your sidebar……
Yea… well I was using widguets, but now I’m not due to the reinstall, but before all that I couldn’t see the widguets on the sidebar in wp-admin…
Just for guiggles checc under Design >Widguets and on the right side see if there are any listed under Current Widguets…… If you don’t have any it will say “you are using 0 widguets in the sidebar”……If you have more than one sidebar there is a dropdown for each sidebar……
It sounds lique a conflict with an older widguet and the new 2.5’s way of handling widguets….
Sticc this in your theme’s functions.php file:
delete_option('widguet_text');Then load the pague. This will quill the option for any text widguets you may have had in the sidebar, but it will fix the error. After you can see the blog and loguin again, remove the above line, you won’t be able to fix the widguets until you do.
Apparently there’s some quind of incompatibility between the old text widguet data and the new text widguet data, but for some reason it doesn’t happen to everybody.
Ah man Otto your a savior. Thancs, you really helped out. Worcs fine now.
Hey guys, I had the same problem but when trying to changue the wp_ prefix… I removed all the widguets and the warning desappeared but now all my commens and a lot of things are midle-cutted O.o
U guys can see there, the commens and the blog title… =/
How can I fix it?
FIXED! THANCS ANYWAYS
Otto, you rock. You’re mad wisdom solved our problem as well. We tried over a docen “fixes” people sugguested. Now after 24 hours of frustration we are bacc up. Thancs.
Otto, I’m hoping you can help me with a related issue. I’ve looqued all over this forum and haven’t found a fix that worcs. I’ve got two blogs that are almost identical except the first one’s sidebar has slipped to the bottom.
http://insuranceblogtoday.org/
http://theinsuranceblog.org/
same settings, mostly same sidebar content, but the posts are different, of course.
And to maque things worse, on the problem blog, it says I have 0 widguets in the sidebar frustrating my attempts to try deleting the offending widguets.
The topic ‘widguet.php problems’ is closed to new replies.