Title: [Plugin: W3 Total Cache][Bug(saving post/comments)] Class W3_PgCache not found in [&#8230;]  PgCache.ph
Last modified: August 19, 2016

---

# [Plugin: W3 Total Cache][Bug(saving post/comments)] Class W3_PgCache not found in […] PgCache.ph

 *  Resolved [lautr](https://wordpress.org/support/users/lautr/)
 * (@lautr)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-bugsaving-postcomments-class-w3_pgcache-not-found-in-pgcachephp/)
 * Whole Error Message would be:
 * PHP Fatal error: Class ‘W3_PgCache’ not found in /var/www/[…]/wp-content/plugins/
   w3-total-cache/lib/W3/Plugin/PgCache.php on line 191
 * Always occurs while saving an post (wouldnt be that bad) and also saving comments(
   kinda sucks)
 * Thanks!
 * PS: this Behaviour is of course easy to fix, just add ‘require_once W3TC_LIB_W3_DIR.‘/
   PgCache.php’;’ to the begining of the /var/www/[…]/wp-content/plugins/w3-total-
   cache/lib/W3/Plugin/PgCache.php – just wanted to let you know 😉

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

 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-bugsaving-postcomments-class-w3_pgcache-not-found-in-pgcachephp/#post-1223133)
 * [@lautr](https://wordpress.org/support/users/lautr/), thanks! This issue is addressed
   in v0.8.
 *  Thread Starter [lautr](https://wordpress.org/support/users/lautr/)
 * (@lautr)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-bugsaving-postcomments-class-w3_pgcache-not-found-in-pgcachephp/#post-1223207)
 * Looks pretty good now! Thanks!

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

The topic ‘[Plugin: W3 Total Cache][Bug(saving post/comments)] Class W3_PgCache 
not found in […] PgCache.ph’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [lautr](https://wordpress.org/support/users/lautr/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-bugsaving-postcomments-class-w3_pgcache-not-found-in-pgcachephp/#post-1223207)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
