Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When I work with a taxonomy term and using functions taxonomy_term_load and taxonomy_term_save, I get 2 errors:
Notice: Undefined property: stdClass::$parent in function shs_taxonomy_term_update() (line 690 in \www\sites\all\modules\shs\shs.module).
Warning: Invalid argument supplied for foreach() in function shs_taxonomy_term_update() (line 690 in \www\sites\all\modules\shs\shs.module).
In functions shs_taxonomy_term_insert and shs_taxonomy_term_update must be checked fulfillment of the condition
if (isset($term->parent)) { ... }
prior to use.
Comments
Comment #1
stBorchertDuplicate of (meanwhile fixed) #1960182: php warning on terms without parent.
Comment #1.0
stBorchertcorrecting typos