error with yoast SEO on brand page
-
Hello,
Picking up this error when my wp-debug is on.
Notice: Undefined property: WP_Post_Type::$ID in /usr/www/users/autosrudhz/Dev/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 253 Notice: Trying to get property of non-object in /usr/www/users/autosrudhz/Dev/wp-content/plugins/wordpress-seo/frontend/class-frontend.php on line 1229
This occurs when viewing a brand archive,
eg.
https://autostyle1.co.za/Dev/shop/?filter_brands=holdfast
Hello,
Could you please check how it works with some default WordPress theme like twentysixteen to understand is it our theme issue or not?
Regards
its only on the woodmart theme, tested on another.
However it only comes up if i set my wp-debug to True (developer mode)
so perhaps its nothing serious as it doesnt appear if wp-debug is false
The problem is that the problem comes with seo plugin file so our theme can’t influence it https://gyazo.com/442f3a33581577a79c741f30c57c133c
But anyway it is a harmless notice so you can ignore it.