will__

$formsList = Versioned::get_by_stage('QuestionnairePage', Versioned::LIVE)->map('ID', 'MenuTitle')->toArray();

will__

@kinglozzer - just seen your code snippet above. i had wobbled off to the docs based on your comments on "versioned" and come up with:

will__

not just something like QuestionnairePage::get()->where(published: true)

will__

yep me too, im not sure i got it till i read your comment : )

will__

but because it is fetching all, not just published, it then can't find the page for users on the site.

will__

so that code fetches a list, which is used in the cms