Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2011 at 17:19 UTC
Updated:
17 Nov 2011 at 17:56 UTC
I just got this error again with Views 3.0-rc3, CTools 1.0-rc1 when trying to add a relationship to OG Membership. Not sure it's the same issue as listed here #1011266: Error getting relationship handler label from non-object. so I created this new issue. We can move this to the old issue if you prefer.
Also triggers for the other OG relationship option.
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: http://projects.dev.coldfrontlabs.ca/admin/structure/views/ajax/add-item/projects/page/relationship
StatusText: OK
ResponseText:
( ! ) Fatal error: Call to a member function label() on a non-object in /var/www/html/snowstorm-projects/profiles/snowstorm/modules/contrib/views/includes/admin.inc on line 2239
Call Stack
#TimeMemoryFunctionLocation
10.0002730648{main}( )../index.php:0
20.263054891232menu_execute_active_handler( )../index.php:21
30.268856931072call_user_func_array
( )../menu.inc:503
40.269356931784views_ui_ajax_form( )../menu.inc:503
50.343061298528views_ui_regenerate_tab( )../admin.inc:2914
60.343061298656views_ui_get_display_tab( )../admin.inc:2343
70.343061298920views_ui_get_display_tab_details( )../admin.inc:1516
80.370062920344views_ui_edit_form_get_bucket( )../admin.inc:1722
Comments
Comment #1
nagiek commentedThis is actually a bug with Entity. See #1321232: OG incompatible with latest Entity 7.x release
Downgrade to Entity-beta10 and you should be fine.
Comment #2
dawehnerThis basically happens if no relationship could be returned. If you look in the admin ui, do you see some of the relationships broken?
Maybe this is an issue with OG, because for other relationships it works fine.
Comment #3
dawehnerOh great update status.
Comment #4
minoroffense commentedWe're actually using Entity 1.0-rc1.
I'll move this issue over to OG then.
Thanks for the quick response!