dconyard
Forum Replies Created
-
Awesome, Thanks for looking into Mikko 🙂
When I run that I get: boolean false. The same error message is displayed: Trying to get property of non-object on line 1320.
This is a notice, so if you do not have display_errors turned on it will not display.
Also, I am using version 1.15.4 of the premium plugin, although this issue did affect the previous version as well.
Hi Mikko,
Here are the details that I am feeding into the query:
$query = (object) array(
‘is_admin’ => true,
‘non_post_post_type’ => false,
‘query_vars’ => array(
‘s’ => ‘water’,
‘tag’ => ‘water’,
‘category_name’ => ‘water’,
‘post_type’ => ‘articles’,
‘post_status’ => ‘publish’,
‘offset’ => 0,
‘paged’ => 1,
‘posts_per_page’ => 4,
‘orderby’ => ‘date’,
‘order’ => ‘DESC’
)
);In this example, water would be the search term and it does not exist as a category, the post type articles is a custom post type.
Please let me know if you need any other details in order to debug this issue.
It looks like there was an issue with the theme in this instance, once I switched themes to a default wordpress theme re-activated the SEO plugin viewed the sitemap and then switched the theme back to my intended theme the issue resolved itself.
Hopefully this helps someone with a similar problem when it comes to the base url is missing from a category sitemap.
Thanks again amboutwe for your help.
Thanks amboutwe,
I will look into this and get back to you if this is an issue that is not affected by the theme/plugins outside of yoast’s plugin.