Bug: Trying to get property ‘term_id’ of non-object
-
PHP Notice: Trying to get property 'term_id' of non-object in /path/to/wp-content/plugins/supportcandy/includes/functions/check_ticket_conditions.php on line 31
$custom_field = get_term_by('id', $field_key, 'wpsc_ticket_custom_fields');
is returning null.I logged some values for you:
$field_key = 11
$unique_condition = [{"field":11,"compare":"match","cond_val":6}]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug: Trying to get property ‘term_id’ of non-object’ is closed to new replies.