Archived

This topic is now archived and is closed to further replies.

  • 0

Invalid arguement in template_fboxes.php

Question

Posted · Report post

Warning: Invalid argument supplied for foreach() in /home/content/24/6069024/html/livegreendenver/wp-content/themes/whitehousepro/pro/template_fboxes.php on line 8
 

The above warning began showing up, out of the blue, on my homepage a few weeks ago.  I originally assumed I needed to update something so I upgraded my version of Wordpress.  However, that did not solve the problem.

 

The site is http://www.livegreen-denver.com

 

Any ideas?

1 person likes this

Share this post


Link to post
Share on other sites

9 answers to this question

Posted · Report post

I think that warning shows up if you have no features set up.

Share this post


Link to post
Share on other sites

Posted · Report post

SImon, I have features, so that's not it.

Share this post


Link to post
Share on other sites

Posted · Report post

Are you on the latest/last version of Whitehouse Pro? Where you doing anything specific on the site when you noticed it appeared?

 

Can you provide us with the layout of your page please i.e. what settings are you using and a screenshot of admin area for the boxes setup.

Share this post


Link to post
Share on other sites

Posted · Report post

Simon, I take it back.  I chose "New Feature Box", but left everything blank, the warning disappeared.

 

Thanks everyone,

 

John

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, Try disabling all active plugins and see if this resolves your issue.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Danny, that did not work.  I deactivated all plugins and the warning message was still there.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Did this happen after updating to WP 3.5?

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

No.  It happened before.  I had hoped upgrading WP would help, but it did not.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Have you made any changes to the core files at all, as I am not able to recreate the issue.

 

If you haven't made any changes to the core files, can you provide us with the layout of your page please i.e. what settings are you using.

Share this post


Link to post
Share on other sites