Issue Summary
Site suddenly stopped working and now gives a parse error. Other sites still work.
“Parse error on line 1043:…”
Troubleshooting Questions
-
This happens only for this one page that suddenly stopped working.
-
Yes, I can create a new, plain WordPress site in Local and access it in a Browser.
Replication
Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
System Details
- Local version: 6.1.7
- OS: Windows Pro, 21H2
Excerpt from log:
{"thread":"main","class":"SiteProcessManagerService","stack":"Error: Parse error on line 1043:\n...e #{{assignment_key + 1}}</h5> \n-----------------------^\nExpecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'INVALID'\n at Parser.parseError (%%appPath%%\\node_modules\\handlebars\\dist\\cjs\\handlebars\\compiler\\parser.js:267:19)\n at Parser.parse (%%appPath%%\\node_modules\\handlebars\\dist\\cjs\\handlebars\\compiler\\parser.js:336:30)\n at parseWithoutProcessing (%%appPath%%\\node_modules\\handlebars\\dist\\cjs\\handlebars\\compiler\\base.js:46:33)\n at HandlebarsEnvironment.parse (%%appPath%%\\node_modules\\handlebars\\dist\\cjs\\handlebars\\compiler\\base.js:52:13)\n at compileInput (%%appPath%%\\node_modules\\handlebars\\dist\\cjs\\handlebars\\compiler\\compiler.js:508:19)\n at ret (%%appPath%%\\node_modules\\handlebars\\dist\\cjs\\handlebars\\compiler\\compiler.js:517:18)\n at ConfigTemplatesService.<anonymous> (%%appPath%%\\main\\sites\\ConfigTemplatesService.js:1:1533)\n at Generator.next (<anonymous>)\n at n (%%appPath%%\\main\\sites\\ConfigTemplatesService.js:1:132)","level":"error","message":"Unable to start site.","timestamp":"2021-11-23T18:06:24.405Z"} {"localVersion":"6.1.7+5610","osPlatform":"win32","osRelease":"10.0.19044","windowsEdition":"Microsoft Windows 10 Pro","linuxEdition":null,"level":"warn","message":"Electron Event ready","timestamp":"2021-11-23T18:12:57.434Z"}
local-lightning.log (147.2 KB)