After updating a simple link on my navbar, my website went down and is now showing the error: “Application error: a client-side exception has occurred (see the browser console for more information).”
Hello @simona_dimitrova, are you using a custom app host? Because it seems like the error might be coming from there. Also, please share your project id for further investigation.
Thanks, Sarah! I just went to look for the custom app host (I had no idea what that is ;)) and indeed, I am not using a custom app host. I hope you find a solution soon! Thanks
Error: PLASMIC: Failed to load chunk-XFXOZO3S.js: Error: Unknown module @plasmicapp/host/registerFunction
at Registry.load (_app-2c1ef7f34d42dc30.js:1:26932)
at Object.getComponent (_app-2c1ef7f34d42dc30.js:1:68400)
at be (_app-2c1ef7f34d42dc30.js:1:72007)
at we (_app-2c1ef7f34d42dc30.js:1:72912)
at oo (react-dom.production.min.js:157:137)
at Bo (react-dom.production.min.js:180:154)
at Ki (react-dom.production.min.js:269:343)
at Lu (react-dom.production.min.js:250:347)
at Nu (react-dom.production.min.js:250:278)
at Pu (react-dom.production.min.js:250:138)
at bu (react-dom.production.min.js:243:163)
at react-dom.production.min.js:123:115
at scheduler.production.min.js:18:343
at Ql (react-dom.production.min.js:122:325)
at Yl (react-dom.production.min.js:123:61)
at Kl (react-dom.production.min.js:122:428)
at hu (react-dom.production.min.js:237:203)
at To (react-dom.production.min.js:170:408)
at Object.onDataFetched (_app-2c1ef7f34d42dc30.js:1:56462)
at _app-2c1ef7f34d42dc30.js:1:70238
We’re still on an older version @plasmicapp/loader-nextjs, version 1.0.415.
The same issue affects running the website locally, which prevents us from doing any work that involves a plasmic page.
Upgrading to @plasmicapp/loader-nextjs to 1.0.431 fixes the problem. However, I am unsure of what the changes are between versions, and whether there are any other hidden issues by upgrading the version.
We found the root cause of the issue as well and have deployed a fix. You shouldn’t need to update your loader version anymore. Simply changing your project and re-publishing/generating should also fix the issue.