Index: wp-admin/includes/class-wp-posts-list-table.php
===================================================================
--- wp-admin/includes/class-wp-posts-list-table.php	(revision 43804)
+++ wp-admin/includes/class-wp-posts-list-table.php	(working copy)
@@ -400,7 +400,11 @@
 		$actions       = array();
 		$post_type_obj = get_post_type_object( $this->screen->post_type );
 
-		if ( current_user_can( $post_type_obj->cap->edit_posts ) ) {
+		if ( empty( $post_type_object ) ) {
+			return $actions;
+		}
+
+		if ( ! empty( $post_type_obj->cap->edit_posts ) && current_user_can( $post_type_obj->cap->edit_posts ) ) {
 			if ( $this->is_trash ) {
 				$actions['untrash'] = __( 'Restore' );
 			} else {
@@ -408,7 +412,7 @@
 			}
 		}
 
-		if ( current_user_can( $post_type_obj->cap->delete_posts ) ) {
+		if ( ! empty( $post_type_obj->cap->delete_posts ) && current_user_can( $post_type_obj->cap->delete_posts ) ) {
 			if ( $this->is_trash || ! EMPTY_TRASH_DAYS ) {
 				$actions['delete'] = __( 'Delete Permanently' );
 			} else {
