Title: Sunil Pandey's Replies | WordPress.org

---

# Sunil Pandey

  [  ](https://wordpress.org/support/users/sunilpanday/)

 *   [Profile](https://wordpress.org/support/users/sunilpanday/)
 *   [Topics Started](https://wordpress.org/support/users/sunilpanday/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sunilpanday/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sunilpanday/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sunilpanday/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sunilpanday/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sunilpanday/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Academica] php warning in header](https://wordpress.org/support/topic/php-warning-in-header/)
 *  [Sunil Pandey](https://wordpress.org/support/users/sunilpanday/)
 * (@sunilpanday)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-warning-in-header/#post-3790247)
 * I have resolved it by just commenting few lines by which i was facing this
    problm.
   Now every thing is ok.
 * Just change the few thing in the header-image.php file.
 * /**foreach ( $featured as $key => $_featured ) :
    if ( ! has_post_thumbnail( 
   $_featured->ID ) ) unset( $featured[ $key ] ); endforeach;*/
 * This was just because if this foreach loop just comment it..it will be operate
   Correctally.
 * check my blog: [http://deadonblog.com/](http://deadonblog.com/) it is being operated
   correctally
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Academica] php warning in header](https://wordpress.org/support/topic/php-warning-in-header/)
 *  [Sunil Pandey](https://wordpress.org/support/users/sunilpanday/)
 * (@sunilpanday)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-warning-in-header/#post-3790245)
 * I have also installed in my blog dealmyblog.com…
    i am looking same problm . 
   Can any one help me please to resolve this problm
 * Warning: Invalid argument supplied for foreach() in /home1/sayan163/public_html/
   deadonblog.com/wp-content/themes/academica/header-image.php on line 15

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