PHP 8.1 issue: Passing null to parameter #2 ($subject) of type string is deprecated in taxonomy_machine_name_clean_name