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.
Hİ,
drupal 7 with hieararchical select 7.x-3.x-dev (23 feb) i got the error message below (completely white screen)
Parse error: syntax error, unexpected '{' in
...modules\hierarchical_select\hierarchical_select.module on line 1644
Comment | File | Size | Author |
---|---|---|---|
#7 | hs-1071484.patch | 810 bytes | xjm |
Comments
Comment #1
ccheu CreditAttribution: ccheu commentedJust a parenthesis pairing issue. Go to your hierarchical_select.module and edit line 1644.
Original code:
if (($first_case || $second_case || $third_case) && (isset($special_items) && !count($special_items['none'])) {
Change to:
if (($first_case || $second_case || $third_case) && (isset($special_items) && !count($special_items['none']))) {
Comment #2
yourrfriend CreditAttribution: yourrfriend commentedIt works.
Thanks
Comment #3
ccheu CreditAttribution: ccheu commentedYou're welcome. :)
Comment #4
Wim LeersThis has not yet been committed. Hence it's not yet fixed.
Comment #5
ccheu CreditAttribution: ccheu commentedOK Wim, just found out the rules about changing the status. I will not mess with the status then. :)
Comment #6
Jerome F CreditAttribution: Jerome F commentedI can confirm this fix works
Comment #7
xjmPatch implementing this fix attached.
Comment #8
Wim LeersFixed. http://drupalcode.org/project/hierarchical_select.git/commit/f4db02e