• Resolved dapih

    (@dapih)


    I am getting a fatal error tracked to em-events.php on line 203.
    $EM_Event->em_get_option( ‘dbem_event_page_title_format’ )
    PHP Fatal error: Uncaught Error: Call to undefined method EM_Event::em_get_option()

    This however works fine, em_get_option( ‘dbem_event_page_title_format’ )

    Version: 7.1.2 running on network site.

    Thanks,
    Daniel

    • This topic was modified 7 months ago by dapih.
Viewing 3 replies - 1 through 3 (of 3 total)
  • joneiseman

    (@joneiseman)

    I sent a message to @msykes about this.

    joneiseman

    (@joneiseman)

    You can fix the problem for now by changing the following in wp-content/plugins/events-manager/em-events.php

    Change line 199 from this:

                            $content =  $event->output( $event->em_get_option('dbem_event_page_title_format') );

    To this:

                            $content =  $event->output( $event->get_option('dbem_event_page_title_format') );

    Then change line 203 from this:

                        $content =  $EM_Event->output ( $EM_Event->em_get_option ( 'dbem_event_page_title_format' ) );

    To this:

                        $content =  $EM_Event->output ( $EM_Event->get_option ( 'dbem_event_page_title_format' ) );

    This should be fixed in the next release.

    Plugin Author Marcus

    (@msykes)

    Hi Daniel, we’ve just released 7.1.7 which will fix this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error in em-events.php’ is closed to new replies.