Site logo

Archived topic

Error with Events Calendar?

3 replies · Started by Colin on July 24, 2021

Viewing posts 1–4 of 4

Hello, my site is throwing this error in the footer, which I've determined started when Events Calendar and Events Cal Pro upgraded from 5.7.1 to 5.8 versions (which track with the latest Wordpress versions):

Warning: count(): Parameter must be an array or an object that implements Countable in /home/greenwd2/public_html/wp-content/plugins/events-calendar-pro/src/Tribe/Views/V2/Customizer/Section/Events_Bar.php on line 178

The error doesn't appear when I use the generic 2020 theme, so I'm wondering if you have any insight on a conflict with Generatepress. The Events support team also suggested that I try you. I'm running the 5.7.1 version of their plugin on my live site without errors right now, and on my staging site the 5.8 version is running with the error in the footer:

https://green-wood.com/
https://ww3.green-wood.com/ (staging)

Thanks for looking into this!

Hi Colin,

Can't see how this would be a GP issue.

Have you tried disabling all plugins including GP Premium and all custom functions and activate the parent theme to test?

Ok, thanks anyway Leo. I'll keep looking into it, and probably go back to the Events support team. I think they steered me wrong suggesting I loop you in; sorry about that.

No problem at all.

Let us know if they think it's a theme issue still.

This archived topic is closed to new replies.