Hi jurgenhaas, This issue is not coming on my local machine. I am using php 8...

Contribution Date
Technology
Contribution Project
Contribution Details

Hi jurgenhaas, This issue is not coming on my local machine. I am using php 8.1 and Drupal 9.4.8 version.
$term->get('machine_name')->first() this will always return an object so i am not getting how it will go in elseif condition.

if ($term->hasField('machine_name')) { if (!empty($term_machine_name = $term->get('machine_name')->first())) { $default_value = $term_machine_name->getValue()['value']; } elseif (!empty($term_machine_name_value = $term->get('name')->first()->getValue())) { $name = $term_machine_name_value['value']; $default_value = taxonomy_machine_name_clean_name($name); } }
Contribution Author
Files count
0
Patches count
0