• 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’) . ‘‘;
    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s possible this is a conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?

    Which version of WordPress are you using?

    Thread Starter MikeShand

    (@mikeshand)

    Thanks. It’s the theme, so I will have to investigate what the conflict could be.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem deleting events’ is closed to new replies.