Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Although I see the code is already commented as "needed to be API updated", I guess using Drupal 6 functions should be prevented even in alpha builds.
Fatal error: Call to undefined function db_rewrite_sql() in sites/all/modules/hierarchical_select/modules/hs_taxonomy.module on line 730
Comments
Comment #1
Wim LeersAgreed. Done: http://drupal.org/cvs?commit=504338
Comment #3
Stefan Haas CreditAttribution: Stefan Haas commentedsuscribe
Comment #4
Stefan Haas CreditAttribution: Stefan Haas commentedSorry, I have this Error code with Hierarchical Select 7.x-3.0-alpha1
Fatal error: Call to undefined function db_rewrite_sql() in /www/htdocs/w00c947d/forestfolio/sites/all/modules/hierarchical_select/modules/hs_taxonomy.module on line 730
I don't understand why this is marked as fixed. Does that mean that it is fixed in the dev-version?
Comment #5
sierkje CreditAttribution: sierkje commentedsubscribe
See also: http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
(Changed status by mistake... oops)
Comment #6
sierkje CreditAttribution: sierkje commentedComment #7
jdufaur CreditAttribution: jdufaur commentedHello, I don't understand also why this is marked as fixed because i've already got
the fatal error "hs_taxonomy.module on line 730" with 7.x-3.0 alpha1.
Have you an solution?
Comment #8
yugongtian CreditAttribution: yugongtian commented+1
Remove module and re install also get erro .How to fix it ?
( ! ) Fatal error: Call to undefined function db_rewrite_sql() in E:\wamp\www\test14\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 730
# Time Memory Function Location
1 0.0009 372312 {main}( ) ..\index.php:0
2 0.8136 28355256 menu_execute_active_handler( ) ..\index.php:22
3 0.8211 28948672 call_user_func_array ( ) ..\menu.inc:501
4 0.8212 28948904 drupal_get_form( ) ..\menu.inc:0
5 0.8212 28950296 drupal_build_form( ) ..\form.inc:188
6 0.8638 29155096 drupal_process_form( ) ..\form.inc:350
7 0.8638 29156672 form_builder( ) ..\form.inc:815
8 0.8640 29160936 form_builder( ) ..\form.inc:1780
9 0.8677 29194376 form_builder( ) ..\form.inc:1780
10 0.8680 29198328 form_builder( ) ..\form.inc:1780
11 0.8682 29201496 form_builder( ) ..\form.inc:1780
12 0.8684 29206592 form_hierarchical_select_process( ) ..\form.inc:1724
13 0.8695 29212456 _hierarchical_select_hierarchy_generate( ) ..\hierarchical_select.module:690
14 0.8741 29233632 _hierarchical_select_apply_entity_settings( ) ..\hierarchical_select.module:1617
15 0.8742 29234424 module_invoke( ) ..\hierarchical_select.module:1827
16 0.8742 29235280 call_user_func_array ( ) ..\module.inc:793
17 0.8742 29235512 hs_taxonomy_hierarchical_select_entity_count( ) ..\module.inc:0
18 0.8742 29235512 hs_taxonomy_term_count_nodes( ) ..\hs_taxonomy.module:467
Comment #9
yugongtian CreditAttribution: yugongtian commentedComment #10
narongwit12 CreditAttribution: narongwit12 commentedsubscribe
Comment #11
boiky CreditAttribution: boiky commentedHey Wim.
It's a great looking thing you are developing...
a lot of people start using it... me one of them. but being newbie I can't figure out the link you posted (http://drupal.org/cvs?commit=504338).
Please help simple people with short advise what to do with this error message?
Should we switch to -dev version for now?
Comment #12
boiky CreditAttribution: boiky commentedIt looks like we can't use at the moment functionality "Display the node count", that causes this db_rewrite_sql call...
Comment #13
Wim Leershs_taxonomy_hierarchical_select_entity_count() has been commented ever since the inital port to Drupal 7, so I don't know how it is possible that that function is being called on your system, unless you deliberately uncommented that code.