I'm using an hierarchical taxonomy field showing as shs widget for Profile2. the problem is, when I'm going to edit my profile on my account, the widget doesn't show the results.
I've tested the same core on php 5.4 and everything was alright!
I looked the source of webpage and figured out "parent" setting was empty ("parents":[]). It means taxonomy_get_parents_all doesn't return Parents of current taxonomy term on Profile2 + PHP 5.3.
Now! the question is what's wrong with taxonomy_get_parents_all and how I can fix this bug?

Thanks for your help

Comments

johnflower’s picture

Title: Has problem with Profile2 on PHP 3.5 » Has problem with Profile2 on PHP 5.3

Changed PHP version in title from 3.5 to 5.3 to match description of problem.

stBorchert’s picture

Hi.
Does the error still occur if you don't use SHS as widget? You say, taxonomy_get_parents_all() does not return anything, which sounds like a bug in Drupal itself.