I'm getting the following error when clicking the 'Administer' link within the 'Signup' Tab.

Fatal error: Cannot access empty property in /home/xxx/public_html/xxx/sites/all/modules/signup/views/handlers/signup_handler_field_signup_edit_link.inc on line 23

Then the following error is being thrown on the following page after that error;

Notice: Undefined index: entity type in views_handler_field_entity->init() (line 38 of /home/xxx/public_html/xxx/sites/all/modules/views/handlers/views_handler_field_entity.inc).
Warning: Illegal offset type in isset or empty in views_handler_field_prerender_list->render() (line 53 of /home/xxx/public_html/xxx/sites/all/modules/views/handlers/views_handler_field_prerender_list.inc).
Notice: Undefined index: sid in signup_handler_field_signup_edit_link->render() (line 23 of /home/xxx/public_html/xxx/sites/all/modules/signup/views/handlers/signup_handler_field_signup_edit_link.inc).
Notice: Undefined index: entity type in views_handler_field_entity->init() (line 38 of /home/xxx/public_html/xxx/sites/all/modules/views/handlers/views_handler_field_entity.inc).
Warning: Illegal offset type in isset or empty in views_handler_field_prerender_list->render() (line 53 of /home/xxx/public_html/xxx/sites/all/modules/views/handlers/views_handler_field_prerender_list.inc).
Notice: Undefined index: sid in signup_handler_field_signup_edit_link->render() (line 23 of /home/xxx/public_html/xxx/sites/all/modules/signup/views/handlers/signup_handler_field_signup_edit_link.inc).

Any help would be appreciated, as this issue is rendering the administration of signups useless.

Thanks.

Drupal core 7.10
Signup 7.x-1.x-dev
Views 7.x-3.0-rc3

Comments

chaloum’s picture

I've got the same issue plus ajax errors when using sign up links in views.

jmickela’s picture

I'm also having this problem.

Shows up the moment I try to add a sign up link to a view.

gerdw’s picture

This Problem was not there with Views 7.x-3.0-beta2

Unfortunatly deatualizing Views is not possible because of other Problems.

G.

segi’s picture

I think the problem is solved if you use the newest views module (7.x-3.1) on your site.

chaloum’s picture

I am using the latest version og view. Still get the errors

chaloum’s picture

the interesting thing is the url (for me) is

/node/17/signups/admin#overlay-context=node/17/admin

which created the error

Fatal error: Cannot access empty property in /Library/WebServer/Documents/xxx/sites/all/modules/signup/views/handlers/signup_handler_field_signup_edit_link.inc on line 24

if I remove /signups/admin#overlay-context=node/17/admin from the url the page displays but not in admin

line 24 is $signup->nid = $values->{$this->aliases['nid']};

boshtian’s picture

Same here - can't administer signups.

I also tried the Views dev version from today (20. 1.) but it's not working as well.

Maybe there can be some modification in view "signup_user_admin_list" that can be made to solve the problem.

sharonknieper’s picture

I too was unable to access the administer view. As a temporary workaround I cloned the admin view (signup_user_admin_list) and under the signup configuration settings changed this new clone to be the admin view.

Then I removed the edit link field. Next I added the signup id and changed it to output as a link with the text of 'edit' and url of 'signup/edit/[sid]'. This works to get to the edit signup page which then provides a way to cancel a signup.

Obviously the error still needs to be addressed but in the meantime this appears to allow admin abilities.

I'm using Views 7-3.1, Signup 7-1.0-dev, D7.10.

boshtian’s picture

Yes, your solution works - thank you. But as you said, this is just a workaround.

Cause I still get some warnings on the admin view and I also don't get the Additional info column of the signup (values of custom fields I added to the form).

kclarkson’s picture

I too am getting this error.

Any fix that provides warning messages will not work for my project.

You know how clients are :)

likewhoa’s picture

ran into this also and @chaloum that doesn't fix it on my end.

likewhoa’s picture

Status: Active » Closed (duplicate)
drupix’s picture

Bonsoir,

I know this issue is closed from a while but I had this problem using Drupal 7.17, Signup 7.x-1.x-dev and Views 7.x-3.5.

This error is being thrown on every page of my site after added some Signup fields to a views :

Notice: Undefined index: entity type in views_handler_field_entity->init() (line 44 of /mysite/sites/all/modules/views/handlers/views_handler_field_entity.inc).

After investigate a while, I found a bug at the beginning of the signup.views.inc file (signup/views/signup.views.inc).
It seems that the second row of function signup_views_data() is missing :

function signup_views_data() {
  // Define the base group of the signup table.  Fields that don't
  // have a group defined will go into this field by default.
  $data['signup']['table']['group'] = t('Signup');
  // Missing value
  $data['signup']['table']['entity type'] = 'node';

  // Other code over there
  ...
}

I cleared my cache and the error does't appears anymore.

Sorry but I don't know if a patch is needed and how to patch...

nikkijd’s picture

#13 worked for me. Thanks!

ycimlynn’s picture

subscribe