Support » Plugin: Events Manager » NOT WORKING Events page grouping date format since update!

  • Resolved Patrick Buntsma

    (@duisterdenhaag)


    Since updating to the latest version of EM the Date format of EM no longer works! It takes the settings from WordPress (Dashboard->Settings->General).

    In Events->Formatting->Events page grouping date format I have l, F jS, Y entered, but on the front end it still shows dd-mm-yy. I have checked the option.php page and the “dbem_event_list_groupby_format” field does have “l, F jS, Y” saved.

    I have deactivated all other plugins, but no luck! This is the case with all my blogs on MultiSite. All of them have different date formatting, but all take it now from WordPress settings.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Update:
    I have check the error with the previous version of EM. The problem seems to be in wp-content/plugins/events-manager/classes/em-events.php.

    I have put that one file back from the old version and it works again. So there must be a wrong array in the new one, I guess.

    The error is indeed in the file em-events.php.
    Line 244 is missing in the update:
    $args['date_format'] = !empty($args['date_format']) ? $args['date_format'] : get_option('dbem_event_list_groupby_format');

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    I haven’t been able to reproduce this. How are you displaying grouped events? If you’re using a shortcode can you give us an example? Thanks.

    Hi Caimin, 🙂

    I’m running a MultiSite with “Global Tables Mode -> Yes” and “Display Global events on main blog -> No”. Each blog has a dedicated Events List Page (in EM Settings).
    Using shortcode: [events_list_grouped blog=”all” pagination=”1″ category=”-13,-14,-15″], but I have also tested with CONTENTS with the same result.

    To summarize:
    Version 5.7.3 of classes/em-events.php is missing line 244. I have replaced that one file with a back-up of version 5.6.6.1 and it works like a charm again.

    The new version 5.7.3 (downloaded yesterday from the WordPress Repository) is missing the code to get_option(‘dbem_event_list_groupby_format’);. And as we all know, if do not tell code to get something, it won’t. LOL 😀

    I could email you both version if you’d like. I think I still have you address somewhere. 😉

    • This reply was modified 1 month, 2 weeks ago by  Patrick Buntsma. Reason: Was too long and complicated

    Hi Caimin,

    Any news yet?

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    Hi Patrick,

    Just to confirm that you’re right about the missing line in newer versions, not sure why that got deleted but it’ll be added again in the next update.

    Hi Markus,

    Great!!! Glad I could help out and get this solved together so quickly 🙂

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