Page loading completely blank on preview

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
Hi! I am having an issue with loading a page. When trying to preview a page it turns up blank with this error in the console view. Any ideas?
Photo of Ashton Roberts

Ashton Roberts

  • 310 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Ashton,
What version of Skuid are you on?
Do you have any custom javascript on the page? If so a problem in it could be causing your page not to load.
The error that's probably breaking your page is "Uncaught TypeError: Cannot read property 'includes' of null". If you don't have any custom javascript it might be an issue in one of your models. You might try taking out different models from your page and see if you can narrow down the problem to a specific model. You can also comment models out of the xml of your page if you don't want to outright delete them off.
Photo of Ashton Roberts

Ashton Roberts

  • 310 Points 250 badge 2x thumb
It was the javascript I was running. I took it off and the page came back. Thanks for your help!
Photo of Shmuel Kamensky

Shmuel Kamensky, Champion

  • 4,328 Points 4k badge 2x thumb
Loving the Skuid Lyfe tab