Title: Error: PgCache_ContentGrabber.php unexpected &#8216;&lt;&#039;
Last modified: August 22, 2019

---

# Error: PgCache_ContentGrabber.php unexpected ‘<'

 *  Resolved [jamesdev](https://wordpress.org/support/users/jamesdev/)
 * (@jamesdev)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/error-pgcache_contentgrabber-php-unexpected/)
 * Hello,
 * We are getting this error on our server over and over. We downgraded to the previous
   version of w3tc and the error didn’t clear. Any idea what could cause this error?
 * > PHP Parse error: syntax error, unexpected ‘<‘ in /files/sites/plugins/live/
   > plugins/w3-total-cache/PgCache_ContentGrabber.php(1760) : eval()’d code on 
   > line 1
   >  PHP Fatal error: Exception thrown without a stack frame in Unknown 
   > on line 0
 * Thanks
    -  This topic was modified 6 years, 9 months ago by [jamesdev](https://wordpress.org/support/users/jamesdev/).

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

 *  Thread Starter [jamesdev](https://wordpress.org/support/users/jamesdev/)
 * (@jamesdev)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/error-pgcache_contentgrabber-php-unexpected/#post-11858047)
 * I narrowed it down to one site. It occurs when I enable page cache.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/error-pgcache_contentgrabber-php-unexpected/#post-11859065)
 * Hello [@jamesdev](https://wordpress.org/support/users/jamesdev/),
 * Can you please share what settings you have enabled in Performance>Page Cache?
   
   What are your current PHP and WP version? When did those errors start to appear?
    -  This reply was modified 6 years, 9 months ago by [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/error-pgcache_contentgrabber-php-unexpected/#post-11859607)
 * Hello [@jamesdev](https://wordpress.org/support/users/jamesdev/),
 * Just a follow-up, you should add a try catch around that line in the plugin, 
   echo the content and die in the catch. That way he can debug the content processed
   by the content grabber so we can help further.

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

The topic ‘Error: PgCache_ContentGrabber.php unexpected ‘<'’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [PHP Fatal error](https://wordpress.org/support/topic-tag/php-fatal-error/)
 * [php parse error](https://wordpress.org/support/topic-tag/php-parse-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/error-pgcache_contentgrabber-php-unexpected/#post-11859607)
 * Status: resolved