share
Drupal AnswersReceived and invalid response from the server
[0] [0] jan
[2011-07-25 11:40:57]
[ 7 modules taxonomy views-filters node-hierarchy ]
[ http://drupal.stackexchange.com/questions/7758/received-and-invalid-response-from-the-server ] [DELETED]

I was about to finish a real-estate website project until this error came up and now I am just simply feeling wasted for everything. Tried googling for this error but it seems to me people are having different solutions that works for them but not me. Someone points to ctools as the source of the problem, Delegator module which i don't have, etc.. Firebug shows this when selecting items in the hierarchical select box:

POST /mal/hs_taxonomy_views_json/Test_View/panel_pane_1

Fatal error: views_exposed_form() [<a href='function.views-exposed-form'>function.views-exposed-form</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;views_handler_filter_user_roles&quot; of the object you are trying to operate on was loaded before unserialize() gets called or provide a __autoload() function to load the class definition in /home/bluechip/public_html/mal/sites/all/modules/views-6.x-2.12/views/views.module on line 1001

I am now starting to get hopeless...

Can anyone shed some light to this issue please? I just wasted 1 week worth of this project and now I am thinking there is no solution to this issue...

Thanks in advance!

Can you describe the modules you're using, the setup (server, browser...) and a way to reproduce it ? Is it with every view, only some... - tostinni
I don't know whats the difference between cloning a view and not cloning the view. When cloning a view, this happens. when I recreated the view, manually, the problem disappeared. I think views pane also affects this but i have to do some tests to confirm. For the meantime my project will proceed with these work-arounds. The server is setup using apache on windows for my local development, apache on linux for the live server.. this happens to all major browsers (IE, FF, Chrome) and to both server environments. - jan
To reproduce this, here are the modules needed: hs_nodereference-6.x-1.0, views-6.x-2.12, cck-6.x-2.9, content_taxonomy-6.x-1.0-rc2 all in drupal-6.22. Create a taxonomy vocabs with hierarchy, create a content type with hierarchical reference, create a view for this content type, expose the hierarchical filter (make sure its exposed as a hierarchy) save your view. if error does not happen, try cloning your view, or try making a 'views pane' instead. - jan