Home › Forums › GovIntranetters › Invalid argument
Tagged: featured news widget
This topic contains 5 replies, has 2 voices, and was last updated by mecray 5 years, 4 months ago.
Thanks for this theme. Looking forward to getting it setup.
I’ve added the Featured News widget to the main column on the home page. However, I get the following error above any posts:
Warning: Invalid argument supplied for foreach() in /home/dcladmin/public_html/durhamcountylibrary/staff-new/wp-content/plugins/ht-feature-news/ht_feature_news.php on line 66
Any idea why this might be happening? I’ve investigated a little, but don’t notice anything obvious.
Thanks in advance,
Recopying the error message as it didn’t wrap and the end is hidden on my screen:
Can you go into Settings, Homepage and let me know if there is anything in the “Pin news stories” entry?
Thanks for replying.
No, there is nothing the “Pin News Stories” entry.
Okay. Can you download the feature news plugin from github again and copy to your plugins folder, I’ve uploaded the latest version. See if you still get the error.
If that doesn’t work, try adding a news story to the Pin News Stories field, saving, and then removing the story and saving again.
Thanks! Installing the updated plugin did the trick.
You must be logged in to reply to this topic.