Problem deleting events
-
There seems to be a problem (for me at least) when attempting to delete events. If I go to a single event and click “bin”, the event is successfully removed, but I see a warning illegal offset type in …wp-admin/edit.php at line 327
Since this works OK, this is not a serious problem, BUT if I try to select multiple events and use the bulk action “move to bin” it fails, and doesn’t delete any of them.In all cases, these are events which are in the past. I haven’t tried it on future events.
I’m running the latest version of event manager 5.6.6.1 (NOT the pro version)The code concerned appears to be
<?php
// If we have a bulk message to issue:
$messages = array();
foreach ( $bulk_counts as $message => $count ) {
>>>>>>> if ( isset( $bulk_messages[ $post_type ][ $message ] ) )
$messages[] = sprintf( $bulk_messages[ $post_type ][ $message ], number_format_i18n( $count ) );
elseif ( isset( $bulk_messages[‘post’][ $message ] ) )
$messages[] = sprintf( $bulk_messages[‘post’][ $message ], number_format_i18n( $count ) );if ( $message == ‘trashed’ && isset( $_REQUEST[‘ids’] ) ) {
$ids = preg_replace( ‘/[^0-9,]/’, ”, $_REQUEST[‘ids’] );
$messages[] = ‘‘ . __(‘Undo’) . ‘‘;
}
}
- The topic ‘Problem deleting events’ is closed to new replies.