I keep getting an error, or at least I think it’s an error. The
reason for “thinking” it’s an error is because it’s not the typical
php error where the file and line # are printed on the page.
Basically my setup is: I have a subdomain (of a
multisite install) that is using the Sage theme (tried both 8.5 &
9). I do have error reporting turned on.
NOTE: no errors are reported when using the dashboard or visiting the my-subdomain.dev
site locally. However, ONLY when using the Customizer (specifically in
development…haven’t tried production or staging yet) I get the
following error using the web browsers console:
`SyntaxError: expected expression, got '<'`
I’m confused why the subdomain is having an “s” added to the end of the url like so:
`<link rel='dns-prefetch' href='//my-subdomain.devs' />`
I’ve tried to suppress the dns-prefetch with little luck. Again, no php error is being printed on screen.
My feeling is that either the Customizer GLOBAL variables are not
getting passed to the templates and/or my Customizer (customizer.php
& .js) files are not properly namespaced.
I must confess that I’m not a pro when it comes to javascript.
Anyways…
any suggestions, thoughts and or insights that you might have would GREATLY GREATLY be appreciated.