How to fix the mistake Uncaught SyntaxError: Unexpected token?
- views 1005
After moving from standard hosting to VPS, an error appeared while loading the site - "Uncaught SyntaxError: Unexpected token". Can you tell me what causes this error?Solutions (1)If the site worked before the move and you didn`t make any edits. That means the problem is in VPS settings, check whether all the necessary modules are installed in PHP, for example, JSON.Answers (1)Without providing more information, it`s hard to say what the problem is. Maybe this is due to the version of php on the server.
Users (0) 0 of 5