Title: Php error Report
Last modified: December 5, 2022

---

# Php error Report

 *  Resolved [chung2795](https://wordpress.org/support/users/chung2795/)
 * (@chung2795)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-error-report-3/)
 * Currently, my website posts are showing “Warning: Invalid argument supplied for
   foreach() in /home/…/plugins/post-grid/includes/post-grid-layout-elements.php
   on line 2838” after the December updates. I’m not sure which version caused this.
   It’s also skewing the positioning of some things like the search bar and page
   index.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [chung2795](https://wordpress.org/support/users/chung2795/)
 * (@chung2795)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-error-report-3/#post-16260127)
 * Addendum. Currently, I’ve rolled the plugin back to version 2.2.2. That fixed
   the skewing issue and partially hides the warnings behind the posts’ cover images.
   Hoping the developer would be able to fix the root issue though. Thank you!
 *  [azizulraju](https://wordpress.org/support/users/azizulraju/)
 * (@azizulraju)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-error-report-3/#post-16260808)
 * Hi [@chung2795](https://wordpress.org/support/users/chung2795/),
    Sorry for the
   inconvenience.
 * We just released another updated **2.2.8**. Could you please install the latest
   version and give it a try?
 * Let us know the update.
    Regards.
 *  Thread Starter [chung2795](https://wordpress.org/support/users/chung2795/)
 * (@chung2795)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-error-report-3/#post-16260859)
 * The error message has been fixed. But the search bar position is still skewed
   and my page index still looks weird. I will show the screenshot of the correct
   vs the skewed and off search bar and index.
 * Correct Search Bar: (v2.2.2) [https://cdn.discordapp.com/attachments/287156234195435520/1049275343862759424/image.png](https://cdn.discordapp.com/attachments/287156234195435520/1049275343862759424/image.png)
   
   Correct Page Index: (v2.2.2) [https://cdn.discordapp.com/attachments/287156234195435520/1049275396664852500/image.png](https://cdn.discordapp.com/attachments/287156234195435520/1049275396664852500/image.png)
 * Skewed-to-the-left Search Bar: (v2.2.8) [https://cdn.discordapp.com/attachments/287156234195435520/1049275467968028743/image.png](https://cdn.discordapp.com/attachments/287156234195435520/1049275467968028743/image.png)
   
   Squinted page index: (v2.2.8) [https://cdn.discordapp.com/attachments/287156234195435520/1049275518689746964/image.png](https://cdn.discordapp.com/attachments/287156234195435520/1049275518689746964/image.png)
 * Would it be possible to fix these minor issues too? Thank you!
 *  [azizulraju](https://wordpress.org/support/users/azizulraju/)
 * (@azizulraju)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-error-report-3/#post-16276954)
 * Hi [@chung2795](https://wordpress.org/support/users/chung2795/),
    Sorry for my
   late response.
 * Could you please install the latest version, **2.2.12**, and give it a try?
 * Waiting for your update.
    Regards.
 *  Thread Starter [chung2795](https://wordpress.org/support/users/chung2795/)
 * (@chung2795)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-error-report-3/#post-16276960)
 * They have been fixed. Splendid. Thank you very much for your hard work! ♥
 *  [azizulraju](https://wordpress.org/support/users/azizulraju/)
 * (@azizulraju)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-error-report-3/#post-16276997)
 * Glad to know that it fixes the issue for you.
    Would you mind writing a review
   for us? It’ll inspire us a lot.
 * You can post your review and rating here:
    [https://wordpress.org/support/plugin/post-grid/reviews](https://wordpress.org/support/plugin/post-grid/reviews)
 * Thank you so much.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Php error Report’ is closed to new replies.

 * ![](https://ps.w.org/post-grid/assets/icon-256x256.gif?rev=3295086)
 * [Post Grid](https://wordpress.org/plugins/post-grid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-grid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-grid/)
 * [Active Topics](https://wordpress.org/support/plugin/post-grid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-grid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-grid/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [azizulraju](https://wordpress.org/support/users/azizulraju/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-error-report-3/#post-16276997)
 * Status: resolved