I have a custom header that is assigned across the Entire Site. It has been working fine.
I have added a Bar to the header and in this Bar I have put a Product Price element.
If I view any normal page I can see the bar and no price, which is correct. On an archive page I see the price appear (the price of the first item on the Archive) which is fine.
However now when I view a Product Page I get a Wordpress crash screen “There has been a critical error on this website.”
Any thoughts?