How can I resolve this please?
Can you give some more information about what you’re trying to do when this comes up? It looks like there is an error in the underscore template.
make sure your template is available before before the script referencing it is called either by moving the template above the script or executing the script on document ready state
I worked it out. Some extraneous code in the header.php file.