Home>Support>Uncaught ReferenceError: panelsStyles is not defined

Uncaught ReferenceError: panelsStyles is not defined

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I’m running into a JavaScript error because the panelsStyles var doesn’t exist.

I’ve resolve my problem in styling.min.js with the following check:

if(typeof panelsStyles === 'undefined') { var panelsStyles = []; }

Since the code falls back to the tag, this seemed like a sufficient fix for the problem.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More