Welcome! To use this support forum, please Login or Join Today!

   

Invalid argument in/builder-page.php on line 172

{name}
Rank

Total Posts: 2

Joined 2012-05-30

PM

 

Hi
I get the following message when I try to insert a Posts Grid in Layout Builder for Lightfast. I only installed it yesterday.

Warning: Invalid argument supplied for foreach() in /websites/un/uni-scribe.com/wp-content/themes/lightfast/builder-page.php on line 172

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

It sounds like it’s trying to reference something that doesn’t exist. Are the parameters in your shortcode correct? Do the category ID’s exist?

{name}
Rank

Total Posts: 2

Joined 2012-05-30

PM

 

I’ve installed Lightfast as it came out of the box and haven’t touched the shortcakes. The category is uncategorised - I’ll try creating a category and see if that makes a difference.

{name}
Rank

Total Posts: 2

Joined 2012-05-30

PM

 

It fixed it when I created and assigned a category.

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

haha “shortcakes” Autocorrect? The shortcode parameter expects a category ID (a number) and the category(s) should not be empty. Let me know what you find out.