After enabling the views and creating a page I started receiving
Notice: Trying to get property of non-object in registration_field_formatter_view() (line 115 of /Applications/MAMP/htdocs/egs/sites/all/modules/registration/includes/registration.field.inc)
I'm working on a patch but am just starting the transition from d6>7
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | registration_type-refs-delete-1532128-2.patch | 2.38 KB | dpi |
| #2 | registration_type-refs-delete-1532128-2.patch | 2.38 KB | dpi |
Comments
Comment #1
richard.c.allen2386 commentedComment #1.0
richard.c.allen2386 commentedput in incorrect message about the error
Comment #2
dpiI believe this is due to a reference from a host entity to a deleted registration type.
Patch removes references to a registration type on delete and hook_formatter_view ensures the registration_type exists before continuing.
Comment #3
dpiThis is not due to views code.
Edit: patch is the same, seems I hit the back button to make a comment.
Comment #4
levelos commentedThanks dpi. Fixed with a minor tweak, namely the changed condition in the formatter view was incorrect. It was preventing the form from even displaying. Anyways, with the change in hook_entity_delete, shouldn't have to worry about it anymore.
Comment #5.0
(not verified) commentedchanged details