Title: Portfolio stopped working &gt;&gt;&gt;  Parse error: syntax error, unexpected &#039;endwhile&#039;
Last modified: August 31, 2016

---

# Portfolio stopped working >>> Parse error: syntax error, unexpected 'endwhile'

 *  Resolved [shairafzal](https://wordpress.org/support/users/shairafzal/)
 * (@shairafzal)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/portfolio-stopped-working-parse-error-syntax-error-unexpected-endwhile/)
 * Portfolio stopped working
 * > Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in …./wp-content/
   > themes/virtue/templates/content-singleportfolio.php on line 223
 * for information the line :
 * > </article>
   >  <?php /** * [@hooked](https://wordpress.org/support/users/hooked/)
   > pinnacle_portfolio_bottom_carousel – 30 * [@hooked](https://wordpress.org/support/users/hooked/)
   > pinnacle_portfolio_comments – 40 */ do_action( ‘kadence_single_portfolio_after’);
   >  endwhile; ?>
   >  <?php /** */ do_action( ‘kadence_single_portfolio_end’ ); ?>
 * line 223 = endwhile ; ?>

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/portfolio-stopped-working-parse-error-syntax-error-unexpected-endwhile/#post-7329156)
 * Hey,
    Do you mind posting a link to your site? Thanks, Hannah
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/portfolio-stopped-working-parse-error-syntax-error-unexpected-endwhile/#post-7329182)
 * My apologies. I’ve corrected the error. You can know update to 2.6.9
    [https://downloads.wordpress.org/theme/virtue.2.6.9.zip](https://downloads.wordpress.org/theme/virtue.2.6.9.zip)
 * Kadence Themes
 *  Thread Starter [shairafzal](https://wordpress.org/support/users/shairafzal/)
 * (@shairafzal)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/portfolio-stopped-working-parse-error-syntax-error-unexpected-endwhile/#post-7329269)
 * Thanks Sir, issue resolved after theme updates.

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

The topic ‘Portfolio stopped working >>> Parse error: syntax error, unexpected '
endwhile'’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

## Tags

 * [WordPress Error](https://wordpress.org/support/topic-tag/wordpress-error/)
 * [wordpress-theme](https://wordpress.org/support/topic-tag/wordpress-theme/)

 * 3 replies
 * 3 participants
 * Last reply from: [shairafzal](https://wordpress.org/support/users/shairafzal/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/portfolio-stopped-working-parse-error-syntax-error-unexpected-endwhile/#post-7329269)
 * Status: resolved