Title: There is a bug &#8211; syntax error
Last modified: March 11, 2020

---

# There is a bug – syntax error

 *  Resolved [moyarich](https://wordpress.org/support/users/moyarich/)
 * (@moyarich)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/there-is-a-bug-syntax-error/)
 * [Wed Mar 11 08:39:00.876207 2020] [php7:error] [pid 15988:tid 1208] [client 192.168.1.220:
   60972] PHP Parse error: syntax error, unexpected ‘<‘, expecting end of file in\
   wp-content\\plugins\\w3-total-cache\\PgCache_ContentGrabber.php(1869) : eval()’
   d code on line 1
 * [Wed Mar 11 08:39:00.877204 2020] [php7:error] [pid 15988:tid 1208] [client 192.168.1.220:
   60972] PHP Fatal error: Exception thrown without a stack frame in Unknown on 
   line 0
 * PHP version: 7.3.12

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/there-is-a-bug-syntax-error/#post-12532602)
 * Hello [@moyarich](https://wordpress.org/support/users/moyarich/)
 * I am sorry about the issue you are experiencing and I am happy to assist you 
   with this.
    Have you made any changes after which that warning started? Are you
   using Page Fragment Cache? Have you recently installed or updated W3 Total Cache?
   Thank you!
 *  Thread Starter [moyarich](https://wordpress.org/support/users/moyarich/)
 * (@moyarich)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/there-is-a-bug-syntax-error/#post-12532656)
 * The plugin is freaking out because of the **page fragment** syntax.
 * Please if you work on the plugin — update the documentation on how to use it.
 * There is **incorrect ** information in it
 * [https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Developers#how-do-i-implement-page-fragment-caching ](https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Developers#how-do-i-implement-page-fragment-caching)
 * //—– works ——————————
 * > The security string has to come before the mfunc string
 *     ```
       <!-- <?php echo W3TC_DYNAMIC_SECURITY; ?> mfunc -->
       <?php 
       echo 'The time is '.date( 'H:i:s', time() );
       ?>
       <!--/mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->
       ```
   
 * //—– does not work ——————–
 *     ```
       <!-- mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->
       <?php 
       echo 'The time is '.date( 'H:i:s', time() );
       ?>
       <!--/mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->
       ```
   
    -  This reply was modified 6 years, 3 months ago by [moyarich](https://wordpress.org/support/users/moyarich/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/there-is-a-bug-syntax-error/#post-12532721)
 * Hello [@moyarich](https://wordpress.org/support/users/moyarich/)
 * Thank you for the information.
    Just to confirm, after you made the changes you
   are not experiencing the PHP Parse error issue anymore? Thank you!
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/there-is-a-bug-syntax-error/#post-12532946)
 * Hello [@moyarich](https://wordpress.org/support/users/moyarich/)
 * Once again thank you for the information.
    We’ll look into the documentation.
   Thank you!

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

The topic ‘There is a bug – syntax error’ 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

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

 * 4 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/there-is-a-bug-syntax-error/#post-12532946)
 * Status: resolved