• In my event I have set a registration limit of 50 and set the registration date to 2025-09-28 (28th of september 2025), today its the 25th of august 2025. Yet, the event seems to be closed on the event page and no one can sign up (register) for the event.

    Logs in debug.log:

    [25-Aug-2025 18:52:20 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the events-manager domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
    [25-Aug-2025 18:52:20 UTC] PHP Deprecated: Creation of dynamic property BP_EM_Component::$link is deprecated in /var/www/html/wp-content/plugins/events-manager/buddypress/bp-em-core.php on line 60

    Database entries seem similar to the older ones were sign up was possible in the past.

    When editing the registration deadline in the event (backend), the date is set to today and the current time upon updating in the fields. The database, however, shows the date that I entered before pressing the update button and so does the event page on the front-end.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mhmart

    (@mhmart)

    Update: I noticed one difference:
    in the database table wp_em_tickets, the field ‘ticket_status’ was set to ‘0’, and had to be ‘1’. I cannot find the reason for this to happen yet though.

    Thread Starter mhmart

    (@mhmart)

    The solution I used by adding to functions.php:

    add_action('em_ticket_get_post_pre', function($ticket, &$post) {
    $ticket->ticket_status = 1;
    $post['ticket_status'] = 1;
    }, 1, 2);

    add_action('em_ticket', function(&$ticket, $ticket_data, $ticket_data2) {
    $ticket->ticket_status = 1;
    $ticket->end_timestamp = strtotime($ticket->ticket_end);
    }, 1, 3);
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot get a ticket for event, seems closed’ is closed to new replies.