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

syntax error, unexpected token "\"

Asked by Sylvia 1 year ago Last activity 1 year ago

syntax error, unexpected token "\"

I was working without troubles but then the website show this error.
Can you help me please?

1 reply

Paul Frankowski Senior Staff
1 year ago · edited

Hi Sylvia,

Most often means that there was an invalid or misspelled backslash () character in the code, which the PHP parser did not expect.

Probably somebody edited php file from Joomla core, Template or Extension (Module, Plugin). Or you changed PHP version. Nothing happens by itself, there is always a reason.

  1. Is your Joomla admin area still works?
  2. Please reinstall Joomla core files
  3. Change template to different one, and compare front-end.

And as always - use Joomla Debug mode
error_reporting_debug.jpg


Remember that forum.joomla.org have many topics about that already

info_2772_2025.png

Log in to reply.