WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] Issues with EM and YOAST

[Resolved] Issues with EM and YOAST

  • gold84it

    @gold84it

    Hello, I’m using Events Manager on my WordPress but after install WordPress SEO Yoast, and put custom metadata, it gives me this error when I call the events’ page:
    Fatal error: Call to a member function get_bookings() on a non-object in /home/content/69/9542969/html/grancapodanno/wp-content/themes/grancapodanno/single-event.php on line 39

    On line 39 we have the following code:

    $tickets_count = count($EM_Event->get_bookings()->get_tickets()->tickets);

    What happen? How can I fix?

    Thank you

    http://wordpress.org/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Issues with EM and YOAST’ is closed to new replies.
Skip to toolbar