Hi,
I tried the snippet on our staging site (staging.papilio.gr) site with one of the default wordpress themes with only the needed plugin and it gives the same error. So, I dont think this is an issue from the theme or something else. Also the custom css for the formatting when i try to activate it, the whole site goes down. I send you a screenshot with the issue.
Regards,
Elies