and i placed it to two Umbraco sites ( www.duckferries.com ) and ( www.gilitickets.online )
it works on gilitickets but not on duckferries. I had some spam root content in duckferries which was returned before and after i removed it than nothing is returned. The content is published and visible.
Anybody knows what could an issue? I recently migrated both sites from v7 umbraco
publishedContentQuery.ContentAtRoot() does not return any items
I wrote this for on-the-fly sitemap generation https://gist.github.com/vmachacek/8663916f6df2618a2e603f722ee1e972
and i placed it to two Umbraco sites ( www.duckferries.com ) and ( www.gilitickets.online )
it works on gilitickets but not on duckferries. I had some spam root content in duckferries which was returned before and after i removed it than nothing is returned. The content is published and visible.
Anybody knows what could an issue? I recently migrated both sites from v7 umbraco
that is because of language settings.
this is followup issue with fix
https://our.umbraco.com/forum/using-umbraco-and-getting-started/109250-when-page-have-several-cultures-it-is-not-returned-by-ipublishedcontentquery#comment-338978
is working on a reply...