Title: QC syntax error, unexpected T_STRING
Last modified: August 21, 2016

---

# QC syntax error, unexpected T_STRING

 *  Resolved [BlogLadi](https://wordpress.org/support/users/blogladi/)
 * (@blogladi)
 * [12 years ago](https://wordpress.org/support/topic/qc-syntax-error-unexpected-t_string/)
 * I’m getting the white screen – turned on debug and got this message:
 * syntax error, unexpected T_STRING..site info…//wp-content/advanced-cache.php 
   on line 2
 * here is the upper half of the file (not sure if line is starts from beginning
   or from beginning of code info)
 * any help is MUCH appreciated.
 * ———
    <?php namespace quick_cache // Root namespace. { if(!defined(‘WPINC’)) //
   MUST have WordPress. exit(‘Do NOT access this file directly: ‘.basename(__FILE__));
 *  /*
    * This file serves as a template for the Quick Cache plugin in WordPress.*
   The Quick Cache plugin will fill the `%%` replacement codes automatically. * 
   e.g. this file becomes: `/wp-content/advanced-cache.php`. * * Or, if you prefer;
   you can set the PHP constants below in your `/wp-config.php` file. * Then, you
   could simply drop this file into: `/wp-content/advanced-cache.php` on your own
   🙂 * ~ Be sure to setup a CRON job that clears your `QUICK_CACHE_DIR` periodically.*/
 *  /*
    * Quick Cache configuration constants. * —————————————————————————- */ /**
   These work as boolean flags. */ if(!defined(‘QUICK_CACHE_ENABLE’)) define(‘QUICK_CACHE_ENABLE’,‘
   1’); if(!defined(‘QUICK_CACHE_DEBUGGING_ENABLE’)) define(‘QUICK_CACHE_DEBUGGING_ENABLE’,‘
   0’); if(!defined(‘QUICK_CACHE_ALLOW_BROWSER_CACHE’)) define(‘QUICK_CACHE_ALLOW_BROWSER_CACHE’,‘
   0’); if(!defined(‘QUICK_CACHE_GET_REQUESTS’)) define(‘QUICK_CACHE_GET_REQUESTS’,‘
   0’); if(!defined(‘QUICK_CACHE_FEEDS_ENABLE’)) define(‘QUICK_CACHE_FEEDS_ENABLE’,‘
   0’);
 * [https://wordpress.org/plugins/quick-cache/](https://wordpress.org/plugins/quick-cache/)

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

 *  Plugin Author [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [12 years ago](https://wordpress.org/support/topic/qc-syntax-error-unexpected-t_string/#post-4936841)
 * Quick Cache require PHP v5.3+. Can you tell me what version of PHP you’re running?
 *  Thread Starter [BlogLadi](https://wordpress.org/support/users/blogladi/)
 * (@blogladi)
 * [12 years ago](https://wordpress.org/support/topic/qc-syntax-error-unexpected-t_string/#post-4936854)
 * Thought it was 5.5 – Double checked it, had to up it. thanks

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

The topic ‘QC syntax error, unexpected T_STRING’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-cache_efefef.svg)
 * [Quick Cache (Speed Without Compromise)](https://wordpress.org/plugins/quick-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [BlogLadi](https://wordpress.org/support/users/blogladi/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/qc-syntax-error-unexpected-t_string/#post-4936854)
 * Status: resolved