An example is when I visit a 404 page and the custom brand header child theme is installed.
The theme component works on most pages but on this page it fails with references errors
After closer inspection it seems that no discourse JavaScript code is being generated on some pages e.g. 404 pages. The page in question is https://eurodiscover.eu/404 if anyone has time for a browse.
