This code has been changed in a later version, but the problem remains not completely solved. the problem I get is with line 160:
unset( $plugins->active[ array_search( $basename, $plugins->active ) ] );
This is the error I get:
Warning: array_search() expects parameter 2 to be array, object given in /***/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160
Fatal error: Cannot use object of type stdClass as array in /***/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160