Title: Litespeed Parse error: syntax error, unexpected ‘)’
Last modified: September 24, 2025

---

# Litespeed Parse error: syntax error, unexpected ‘)’

 *  Resolved [andrewn0](https://wordpress.org/support/users/andrewn0/)
 * (@andrewn0)
 * [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/)
 * I’m having multiple websites throw this error:
 * “Parse error: syntax error, unexpected ‘)’ in /xxx/wp-content/plugins/litespeed-
   cache/src/admin-display.cls.php on line 361”
 * I have to delete the litespeed plugin folder, and then reinstall it.
 * What is causing this please, as it’s taken many websites offline.

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

 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/#post-18654751)
 * [@andrewn0](https://wordpress.org/support/users/andrewn0/) reinstalling fixes
   the issue?
 *  Thread Starter [andrewn0](https://wordpress.org/support/users/andrewn0/)
 * (@andrewn0)
 * [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/#post-18654790)
 * [@litetim](https://wordpress.org/support/users/litetim/) yes or just leaving 
   the plugin deleted. I’ve got 300+ websites with this installed though so would
   like to know what the cause is as I’ve checked all so far and fixed the ones 
   with the issue, but don’t want it happening to more?
    -  This reply was modified 8 months ago by [andrewn0](https://wordpress.org/support/users/andrewn0/).
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/#post-18654803)
 * [@andrewn0](https://wordpress.org/support/users/andrewn0/) please provide more
   info: what was the version you upgraded from?
   Did you used CLI?
    -  This reply was modified 8 months ago by [litetim](https://wordpress.org/support/users/litetim/).
 *  Thread Starter [andrewn0](https://wordpress.org/support/users/andrewn0/)
 * (@andrewn0)
 * [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/#post-18654808)
 * I don’t use CLI, all affected sites are WordPress sites with automatic updates
   on, so I don’t know what version they went from or to, sorry.
 * There are multiple support threads on this topic, is the root cause known yet?
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/#post-18654837)
 * [@andrewn0](https://wordpress.org/support/users/andrewn0/) there are 2 threads
   
   I tested the following. Started a new site, installed 6.5.4 and 7.4:updated from
   admin -> plugins => it workedupdated from CLI to latest => it workedDid you used
   WP manager to update site? Or you manually updated?
 *  Thread Starter [andrewn0](https://wordpress.org/support/users/andrewn0/)
 * (@andrewn0)
 * [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/#post-18654838)
 * The affected websites have built-in automatic updates enabled.
 * If another gets affected, I will try to log more detail for you, I was just hoping
   to know the root cause, but I guess this is unknown still.

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

The topic ‘Litespeed Parse error: syntax error, unexpected ‘)’’ is closed to new
replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [andrewn0](https://wordpress.org/support/users/andrewn0/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/litespeed-parse-error-syntax-error-unexpected-3/#post-18654838)
 * Status: resolved