• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved ERROR: syntax error, unexpected '?' (Helper.php:76)

pablofrp

Basic Pleskian
Hello to all

For some time I have this message when I go to see any domain in plesk


ERROR: syntax error, unexpected '?' (Helper.php:76)

Search for related Knowledge Base articles
OS : ‪Ubuntu 12.04.5 LTS‬
Plesk Onyx
Version 17.0.17 Update #63, last updated on Nov 30, 2021 06:25 AM
The system is up-to-date. Checked on Jan 26, 2023 06:25 AM.

this command plesk installer install-panel-updates not fix it or everything I've tested doesn't work

I know my OS is old but for now I can't change it.

I don't know if it's related but the license doesn't seem to be verified
[2023-01-31 12:10:20] ERR [1] Token validation failed: The license key 'PLSK.XXXXXXX' was not verified: Server returned '<html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.20.1</center>
</body>
</html>
(415) '. Please contact Plesk support: <https://www.plesk.com/support/>
[31-Jan-2023 12:10:21 Europe/Berlin] PHP Parse error: syntax error, unexpected '?' in /opt/psa/admin/plib/modules/pagespeed-insights/library/Helper.php on line 76
[2023-01-31 12:10:21] ERR [1] ERROR: syntax error, unexpected '?' (Helper.php:76)

Do you have any ideas ?

I'm trying to contact the support but for the moment my remaining password doesn't work :)

Thank

Pablo
 
Yes, but i can't access to the plesk panel due to the error.
I have found the way using:
plesk bin extension --uninstall pagespeed-insights

Thanks
 
Back
Top