Name column of “Recent Bookings” table empty after update
-
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.
- The topic ‘Name column of “Recent Bookings” table empty after update’ is closed to new replies.