It worked fine before, and I really think that it stopped working after some WordPress updates. The contact form code works using the code in a page template. Let me paste the full code in a Pastebin link:
I suppose that it fails on the class construction part. Btw, do you know if there is a deprecated function on this code? Thanks.
Read more here: Contact form widget not working