Hey Miguel,
Sorry you ran into this error! It’s something we’ve just fixed, so I’m curious, what version of The Events Calendar is active on your site?
If possible, can you try doing a “fresh install” of the most recent version of The Events Calendar? If you do this and the issue still happens, then a temporary fix would be to head to that line in the file reported in the error and change get_the_permalink to just get_permalink.
Let us know what steps you’re able to do here and if they help at all!
Thanks,
George