[Plugin: WordPress SEO by Yoast] error notices
error notice in breadcrumbs:
Notice: Trying to get property of non-object in /var/www/vhosts/money.cz/httpdocs/wp-content/plugins/wordpress-seo/frontend/class-breadcrumbs.php on line 248
again you should not use menu_name for frontend name, so it should be $post_type_obj->labels->name
But in my case – (http://money.mediacentrum.cz/reference/?kraj=jihocesky-kraj&produkt=money-s5&branze=it-a-elektronika) – it is combination of custom post type and taxonomy with zero results and in this case $link[‘ptarchive’] is FALSE so $post_type_obj = get_post_type_object( $link[‘ptarchive’] ); is false as well so it throws the error above
- The topic ‘[Plugin: WordPress SEO by Yoast] error notices’ is closed to new replies.