WordPress.org

Support

Support » How-To and Troubleshooting » invalid argument warning

invalid argument warning

  • I have the following error on admin>options page:

    Warning: Invalid argument supplied for foreach() in /home/site/public_html/wp-admin/options-head.php on line 10

    Anyone know how to fix this? Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Since I’ve not received a reply to my problem, I’m now wondering if there’s a way to import my wp blog entries to another database. Does anyone have any suggestions?

    Mark (podz)
    Support Maven

    @podz

    What happened just before that error appeared ?

    I’m not sure when it appeared (I don’t use that page often), but I recently switched back to 1.2.2 from 1.5. And when I tried to go back to the install of 1.5 I was using without any problems, I got all kinds of errors. So now I’m back to 1.2.2.

    any suggestions?

    silly me forgot to run the upgrade…i’m learning.

    I also have an error. It says:
    Warning: Invalid argument supplied for foreach() in …/public_html/wp-content/themes/simple/sidebar.php on line 10

    any idea how to fix this?

    Perhaps check the argument supplied for foreach() and make sure it’s valid?

    You can paste the source for your theme’s sidebar.php here:

    http://wordpress.pastebin.ca/

    Reply back with the url for it, and hopefully someone can examine the source and point out the problem.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘invalid argument warning’ is closed to new replies.