Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5332
    rosa
    Participant

    2 weeks ago i was updating Event Maker to 1.2.2. After the update, the website got into an error. I fix it, but i still got 3 warnings in my event screen.

    5741 PA BEEK EN DONK

    Warning: Creating default object from empty value in /home/tryandplay.nl/public_html/tryandplay.nl/wp-content/plugins/events-maker/includes/core-functions.php on line 687

    Warning: Creating default object from empty value in /home/tryandplay.nl/public_html/tryandplay.nl/wp-content/plugins/events-maker/includes/core-functions.php on line 687

    Warning: Creating default object from empty value in /home/tryandplay.nl/public_html/tryandplay.nl/wp-content/plugins/events-maker/includes/core-functions.php on line 687

    Can I go back to the old version?

    #5337
    Bartosz
    Keymaster

    Yes, you can always do this but this is not the best option. I’m wondering what might have happened.

    This error points to event locations. Is this error thrown on specific page or everywhere accross events pages?

    #5338
    Bartosz
    Keymaster

    Sorry, I just found it.

    Please go to events-maker/includes/core-functions.php line 687 and change this:

    
    $locations[$id]->organizer_meta = (get_option('event_organizer_'.$organizer->term_taxonomy_id) ? get_option('event_organizer_'.$organizer->term_taxonomy_id) : get_option('event_organizer_'.$organizer->term_id));

    to this:

    
    $organizers[$id]->organizer_meta = (get_option('event_organizer_'.$organizer->term_taxonomy_id) ? get_option('event_organizer_'.$organizer->term_taxonomy_id) : get_option('event_organizer_'.$organizer->term_id));

    A new 1.2.4 update will include that fix too.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.