Hi, I’m having an issue integrating Yoast SEO with The Events Calendar. I’ve been piecing together a solution based on several previous threads, and it’s going well, with a single exception: every time I try to call tribe_is_event(), it fails and I get a PHP error: “Trying to get property of non-object in …/the-events-calendar/lib/the-events-calendar.class.php on line 2510”. That line is pretty innocuous: “$postID = $post->ID”.
I’m basing my function on the example conditional here: https://gist.github.com/2415009
I’m using v2.0.10 with WP 3.4.2. I’m using a Thematic child theme, but this issue occurs even when I switch to Twenty Eleven. Any pointers on where to start looking would be greatly appreciated.
- The topic ‘tribe_is_event() failing’ is closed to new replies.