• Resolved mirgcire

    (@mirgcire)


    After updating to the latest version of Events Manager, I found that the Name column of the “Recent Bookings” table was empty. I traced the problem down to Line 581 of events-manager/classes/em-bookings-table.php

    $cols[] = apply_filters('em_bookings_table_rows_col', $val, $col, $EM_Booking, $this, $csv, $object); //deprecated, use the above filter instead for better performance

    I fixed the problem by commenting out this line and modifying the line 580 like so:

    $cols[] = $val = apply_filters('em_bookings_table_rows_col_'.$col, $val, $EM_Booking, $this, $csv, $object);

    To be honest, I actually found the problem several updates ago but it keeps coming back with each update. I figure it must be because no one told you about it. Am I the only one who is seeing this problem?

    It is kind of mysterious because when I grep ’em_bookings_table_rows_col’ I can’t find any code that is actually filtering it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Does this still happen if you keep the original Events Manager code but remove your custom coding / filters?

    Thread Starter mirgcire

    (@mirgcire)

    I just gave it a try, and the answer is “yes”. When I my filters

    But I do understand why you ask this question. EM must have a bazillion filters, and likely to be the root cause in 80% of reported problems.

    I’m not sure what you mean, but if the problem goes away when you deactivate your custom filters the problem must be caused by your custom filters…

    Thread Starter mirgcire

    (@mirgcire)

    You asked “does it still happen when I removed my custom codings” and I answered “yes” … it still happens. Not sure why the second sentence got chopped off.

    But just to be clear, the problem persists even when I remove my custom filters.

    Which booking mode are you using?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Name column of “Recent Bookings” table empty after update’ is closed to new replies.