php warning invalid argument supplied help

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
Ticket for: Post Grid
0
aaron1988
Jul 10, 2020 11:02 AM 1 Answers
Member Since Jul 2020
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

Inside file: post-grid/includes/post-grid-layout-elements.php on line: 2875 which is this:

foreach($media_source as $source_id => $source_info){

it is reporting this inside the error_log

PHP Warning: Invalid argument supplied for foreach()

Hope you can help fix 🙂 we are on PHP: 7.4.7

Thanks

Aaron

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
PickPlugins
Jul 12, 2020
Flag(0)

Welcome to our forum.

Please make sure you have selected at least one media source under the media elements, or you can delete this element if you don’t need this.

View post on imgur.com

I will fix the issue for an empty media source in next plugin update.

Regards

Sign in to Reply
Replying as Submit

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets