Title: Fatal Error w3-total-cache-api.php &#8211; Syntax Error
Last modified: October 24, 2022

---

# Fatal Error w3-total-cache-api.php – Syntax Error

 *  Resolved [mattsmw](https://wordpress.org/support/users/mattsmw/)
 * (@mattsmw)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-w3-total-cache-api-php-syntax-error/)
 * Hi,
 * I am trying to activate W3 Cache but get a fatal error when activating
 * Parse error: syntax error, unexpected ‘<<‘ (T_SL), expecting end of file in /
   home/*****/web/*****.co.uk/public_html/site/wordpress/wp-content/plugins/w3-total-
   cache/w3-total-cache-api.php on line 15
 * This is setup with PHP 7.4, nginx reverse proxy with apache backend

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

 *  Thread Starter [mattsmw](https://wordpress.org/support/users/mattsmw/)
 * (@mattsmw)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-w3-total-cache-api-php-syntax-error/#post-16127919)
 * Don’t worry, this actually turned out to be an issue with the hosting setup. 
   Part of the file was still missing
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-w3-total-cache-api-php-syntax-error/#post-16128129)
 * Hello [@mattsmw](https://wordpress.org/support/users/mattsmw/)
 * Thank you for the informaiton.
    Glad to know the problem is resolved!
 * Thanks!

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

The topic ‘Fatal Error w3-total-cache-api.php – 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-w3-total-cache-api-php-syntax-error/#post-16128129)
 * Status: resolved