Getting an Error:

Fatal error: Call to undefined method stdClass::save() in /var/www/cp/sites/all/modules/hierarchical_select/modules/hs_taxonomy_views.module on line 352

Error is shown in the attached screen-shot.
(screen-shot1.png,screen-shot2.png,screen-shot3.png)

What i have done so far;
1. using Drupal 6.15
2. using following modules:
(2.a) CCK - 6.x-2.6
(2.b) Hierarchical Select - 6.x-3.0
(2.c) Content Taxonomy - 6.x-1.0-rc2
(2.d) Views - 6.x-2.8
(2.e) Chaos tool suite(ctools) - 6.x-1.2
3. i have page as a cck
in page cck i have created one field as a - Content Taxonomy Fields
4. i have created one vocabulary - for location.
having terms like,
Vocab: Location
Terms: Location
-- USA
-- Alamba
-- City of Alamba
-- New York
-- City of New York
5. i have created one view where i want the filer as i have described in the (screen-shot1.png,screen-shot2.png,screen-shot3.png) of this thread.

But not able to get the results; getting an error !!!!

Fatal error: Call to undefined method stdClass::save() in /var/www/cp/sites/all/modules/hierarchical_select/modules/hs_taxonomy_views.module on line 352

Please Find the attached SQL Zip File of the work i have done so far, if you are configuring this on your end; Follow Process-1 and Process-2 mentioned in this post.

I have posted the same issue at Port HS support for Taxonomy Views to Drupal 6, As per suggestion received from Wim Leersi have posted this again; so please won't mark this as Duplicate Item.

Expecting Favorable reply.

Thanks,
Drupal Rocking

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Title: Porting of HS for Taxonomy Views » HS Taxonomy Views error: Call to undefined method stdClass::save() …

More meaningful title.

Will look into this later.

karinha’s picture

I have the same problem. Any solution found so far?

I additionnaly receive the following error message when trying to set up my hierarchical view: Invalid argument supplied for foreach() in ...sites/all/modules/hierarchical_select/includes/theme.inc on line 372.

Wim Leers’s picture

Status: Active » Postponed (maintainer needs more info)

I can't reproduce this. Please provide a demo site with the minimal setup you describe, along with the login credentials for the Drupal user with uid 1 and FTP or (preferably) SSH login credentials. I'll debug the problem on your server.

Wim Leers’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing due to lack of response. Feel free to reopen!

mr.alinaki’s picture

Version: 6.x-3.0 » 6.x-3.7
Status: Closed (fixed) » Active

I can reproduce that on my test configuration (Pressflow 6.22, HS 3.7 and views 2.12).

It happens when you try to configure hierarchical select BEFORE saving the filter. After saving everything is OK.

e.g.: create view - filter - taxonomy term - hierarchical select - configure hierarchical select - error.

stefan.r’s picture

Status: Active » Closed (won't fix)

6.x issue without activity for over 3 years, closing.

Please reopen if this is still an issue in 7.x.