I am trying to delete several event registrations from an event, but each time I try with any of the contacts it fails. I get a pop-up warning that any corresponding payment transactions will be deleted and I click the tick/delete button but then I just get the spinning Civi logo and the webpage hangs like that.
The event registrations were created using a webform registering multiple people (parent and children) for the event at once. I turned on logging errors to the Drupal logs but there is nothing appearing there. When I refresh the webpage the participant listing is the same as before.
I can edit the participants and change their status to cancelled but cannot delete the registration. We're on Civi 4.6.5 and Drupal 7 with CiviHosting.
EDIT: I get this error message following @petednz advice:
Fatal error: Class name must be a valid object or a string in /home/../www/www/includes/common.inc on line 7963
Line 7963 is in bold below:
/**
* Gets the entity controller for an entity type.
*
* @return DrupalEntityControllerInterface
* The entity controller object for the specified entity type.
*/
function entity_get_controller($entity_type) {
$controllers = &drupal_static(FUNCTION, array());
if (!isset($controllers[$entity_type])) {
$type_info = entity_get_info($entity_type);
$class = $type_info['controller class'];
$controllers[$entity_type] = new $class($entity_type);
}
return $controllers[$entity_type];
}
This Drupal post is another recent user with error at the same line but different situation:
Viewing entity results in Fatal error: Class name must be a valid object or a string