• Resolved andrewn0

    (@andrewn0)


    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

    (@litetim)

    @andrewn0 reinstalling fixes the issue?

    Thread Starter andrewn0

    (@andrewn0)

    @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.
    Plugin Support litetim

    (@litetim)

    @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.
    Thread Starter andrewn0

    (@andrewn0)

    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

    (@litetim)

    @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 worked
    updated from CLI to latest => it worked

    Did you used WP manager to update site? Or you manually updated?

    Thread Starter andrewn0

    (@andrewn0)

    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.