• Resolved Ulrich Viridis

    (@ulrichviridis)


    After an automatic update (since it happened without user intervention), our website refuses to open.

    I get following error message: “Parse error: syntax error, unexpected ‘)’ in /home/aikidoca/public_html/cabn/wp-content/plugins/litespeed-cache/src/admin-display.cls.php on line 361”

    Of course, I looked up on the internet for this error. I also looked into this file ‘admin-display.cls.php’. On line 361 I find the ‘)’, but the ‘)’ should really be there. Thus the real error is somewhere else.

    Does anybody have a clue? Should we just wait until the error is fixed with a newer update? The automatic update seems to have happened on 11th September 2025 (time stamp of the files).

    Thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support litetim

    (@litetim)

    @ulrichviridis do you have access to ftp? OR server panel?
    Delete litespeed-cache from public_html/wp-content/plugins
    and try reinstall it

    Plugin Support litetim

    (@litetim)

    @ulrichviridis any updates here?

    Thread Starter Ulrich Viridis

    (@ulrichviridis)

    I have acces to cPanel.

    I moved /litespeed-cache from /public_html/wp-content/plugins into trash.

    Now I get following error message: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.4.0”. You are running 7.2.34. in /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor/composer/platform_check.php on line 24

    It didn’t really solve the issue. Should I try to upgrade PHP from within cPanel?

    [Edit] I upgraded the website to PHP 8.3, but no change in the error message.

    Plugin Support litetim

    (@litetim)

    @ulrichviridis can you confirm PHP 8.3 is loaded?
    Add a file info.php witch content: <?php phpinfo(); run the file and see which PHP version is loaded.

    Thread Starter Ulrich Viridis

    (@ulrichviridis)

    I upgraded to PHP 7.4 and 8.4. Now the error messages are following.

    There comes a login screen, wich does nothing.

    Deprecated: YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php on line 60

    Notice: Function wp_deregister_script was called incorrectly. Do not deregister the jquery script in the administration area. To target the front-end theme, use the wp_enqueue_scripts hook. Please see Debugging in WordPress for more information. (This message was added in version 3.6.0.) in /home/aikidoca/public_html/cabn/wp-includes/functions.php on line 6121

    Warning: Cannot modify header information – headers already sent by (output started at /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php:60) in /home/aikidoca/public_html/cabn/wp-login.php on line 515

    Warning: Cannot modify header information – headers already sent by (output started at /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php:60) in /home/aikidoca/public_html/cabn/wp-login.php on line 531

    Warning: Cannot modify header information – headers already sent by (output started at /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php:60) in /home/aikidoca/public_html/cabn/wp-includes/functions.php on line 7144

    Warning: Cannot modify header information – headers already sent by (output started at /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php:60) in /home/aikidoca/public_html/cabn/wp-includes/functions.php on line 7168

    Warning: Cannot modify header information – headers already sent by (output started at /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php:60) in /home/aikidoca/public_html/cabn/wp-includes/pluggable.php on line 1108

    Warning: Cannot modify header information – headers already sent by (output started at /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php:60) in /home/aikidoca/public_html/cabn/wp-includes/pluggable.php on line 1109

    Warning: Cannot modify header information – headers already sent by (output started at /home/aikidoca/public_html/cabn/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php:60) in /home/aikidoca/public_html/cabn/wp-includes/pluggable.php on line 1110

    Plugin Support litetim

    (@litetim)

    @ulrichviridis
    I think updating was a good decision.
    The errors seems to come from Yoast plugin.
    You can contact them about the errors, but you can also hide them by disabling WP Debug
    Being warning or deprecation notice will not create errors as far as it works as expected

    Plugin Support litetim

    (@litetim)

    @ulrichviridis We narrowed it down and the fix will come in next version of LSC.
    Thank you for reporting the issue 🙂

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

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