I am getting the same error on the top of every post - I tried deactivating all plugins and then reactivating only simple-taxonomies but still get the same error. Line 294 reads:
foreach ( $opt['taxonomies'] as $taxonomy ) {
as part of this function:
function yoast_simple_taxonomies_filter( $content, $type ) {
$opt = get_option('yoast_simpletax');
$output = '';
foreach ( $opt['taxonomies'] as $taxonomy ) {
$filter = false;
if ( $type == 'content' && $taxonomy['filter'] ) {
$filter = true;
} else if ( $type == 'excerpt' && $taxonomy['filterexcerpt'] ) {
$filter = true;
}
if ( $filter ) {
$terms = get_the_term_list( $post->ID, $taxonomy['name'], $taxonomy['label'].': ', ', ', '' );
if ($terms)
$output .= "\t".'<span class="taxonomy-'.$taxonomy['name'].'">'.$terms."</span><br />\n";
}
}
if ($output != '') {
$content .= '<div id="yoast-taxonomy">'."\n".$output."\n".'</div>'."\n";
}
return $content;
}
Any suggestions how to fix this? Thanks!