Spectrum syntax error, unexpected token "\" - Forum | JoomShaper
Staff replied General

Spectrum syntax error, unexpected token "\"

Asked by emejia 2 years ago Last activity 2 years ago

After update from php 7.2 to Php 8.1 show this error :

Spectrum :

OH CRAP!

syntax error, unexpected token "\"

3 replies

Paul Frankowski Senior Staff

Ho.

As fist step as Joomla Investigator - enable that:

error_reporting_debug.jpg

Then check from where you have error, which file(s) is on table location 1 and 2

emejia Asked this

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/site1/libraries/src/Uri/Uri.php on line 143

Paul Frankowski Senior Staff
2 years ago · edited

Also that message doesn't help :/ too short !!

Switch to PHP 8.0 and test again.

Have you updated all extensions and template to new version?
If you are not sure, check one by one.

Log in to reply.