I had the exact same problem, there is an update to the community events extension.
Download the latest (4.0.0) and replace
/wp-content/plugins/the-events-calendar-community-events/src/functions/template-tags.php
with /src/functions/template-tags.php from the downloaded file.
Or just update the whole community events to the latest version 🙂