Title: [Plugin: W3 Total Cache] Blank pages
Last modified: August 19, 2016

---

# [Plugin: W3 Total Cache] Blank pages

 *  [gokobox](https://wordpress.org/support/users/gokobox/)
 * (@gokobox)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-blank-pages/)
 * Hi Frederick,
    I’m trying to use the function mclude (<!– mclude path/to/file.
   php –><!– /mclude –>) but, I’m getting blank pages.
 * The function works on the first page load, but dies from the second load.
 * The error_log says:
    `16-Dec-2010 21:11:45] PHP Parse error: syntax error, unexpected'
   <' in /home/xxxxxxxxxx/public_html/wp-content/plugins/w3-total-cache/lib/W3/PgCache.
   php(1337) : eval()'d code on line 1`
 * I’m using WordPress 3.0.1 and W3TC 0.9.1.3.
    Page Cache basic is enable. only
   enabled Database Cache and Page Cache.
 * Thank you very much for your help
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

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

 *  Thread Starter [gokobox](https://wordpress.org/support/users/gokobox/)
 * (@gokobox)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-blank-pages/#post-1819104)
 * Update:
    Well, none of the methods (mfunc or mclude)mentioned by Frederick in
   the FAQ work. Even with a minimum of code as an echo rand (); Ex: `<!-- mfunc
   echo rand(); --><!-- /mfunc -->` work on the first page load but show blank pages
   to refresh.
 * `<!-- mfunc -->echo rand();<!-- /mfunc -->`
    shows echo rand();
 * I prefer mclude but does not work.
    Does anyone use fragment caching? Does it
   work?
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-blank-pages/#post-1819179)
 * Indeed, it works for people I’ve spoken to. Can you submita bug submission form
   from the support tab of the plugin?
 *  Thread Starter [gokobox](https://wordpress.org/support/users/gokobox/)
 * (@gokobox)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-blank-pages/#post-1819188)
 * Thank you, i’ll do it.
 * Update: I think I found the problem.
    I’m trying to use a function from a plugin
   that queries the database. But to place this function in a mclude or mfunc, everything
   works on the first load page. When deleting the browser caché and reloading the
   page, this die showing a blank page.
 * How I can make queries to the database using mfunc or mclude? Is this possible?
 * Thank you
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-blank-pages/#post-1819201)
 * Are you sure that the function actually returns in every case? Checking for the
   cache occurs before other plugins are loaded.

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

The topic ‘[Plugin: W3 Total Cache] Blank pages’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-blank-pages/#post-1819201)
 * Status: not resolved