Show the terms of the hierarchical taxonomy
The issue you’re facing is due to the hierarchical structure of your taxonomy terms. The get_term_by() function expects a single term name as the second parameter, but in your case, the term name is an array because of the hierarchical structure. To resolve this issue, you can modify your code to this: $tipi_evento_names = dci_tipi_evento_array(); … Read more