WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Add-Note - Error on Booking-Detail (6 posts)

  1. joesch
    Member
    Posted 2 years ago #

    If I add note on the admin-booking-detail-page occurs the following error:

    Call to undefined method stdClass::get_name() in /<...>/plugins/events-manager/admin/em-bookings.php on line 315

    Greatings ...

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

  2. agelonwl
    Member
    Posted 2 years ago #

    what note you are adding on the EM core? does the template will not work?

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    i see the issue, will fix

  4. cmickens84
    Member
    Posted 2 years ago #

    hey, joesch, while you're waiting on an update, if you replace $user->get_name() with $user->first_name on line 315 in admin/em-bookings.php, the booking notes will work.

  5. joesch
    Member
    Posted 2 years ago #

    Many thanks, it work's :-)

  6. agelonwl
    Member
    Posted 2 years ago #

    @cmickens84

    thanks for sharing....

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic