array_pop() expects array, boolean given for $event_type_term ->slug

get_the_terms() is probably returning false.

Do a print_r($event_type_term) to see what you have in it.

From: http://codex.wordpress.org/Function_Reference/get_the_terms

Array of term objects on success. False if no terms are found in the
given taxonomy and a wp_error object if an invalid taxonomy is
entered.

Leave a Comment

error code: 523