WordPress.org

Forums

Events Manager
[resolved] changing price causes Fatal error (2 posts)

  1. adroidman
    Member
    Posted 11 months ago #

    I set a price for an event but when viewing the event I was not able to register for the event. I set the event for free and now when I go to the event I see,

    Fatal error: Call to a member function get_location() on a non-object in /home/hanahan/public_html/wp-content/themes/city-government/single-event.php on line 104

    This is for all events now. I can create new events and they work and I can enable bookings but the moment I change the price I get the same error message.

    What is wrong and how can I resolve this?

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

  2. angelo
    NetWebLogic Support
    Posted 11 months ago #

    can I know how did you code your single-event.php? the problem might be on how you declare $EM_Event

Reply

You must log in to post.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.