Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented element query method draftOf('*') says "Invalid draftOf value" #7470

Closed
benface opened this issue Jan 30, 2021 · 2 comments
Closed
Labels

Comments

@benface
Copy link
Contributor

benface commented Jan 30, 2021

Steps to reproduce

Call craft.entries.draftOf('*').all() (documented here). Get the following error:

Exception 'yii\base\InvalidArgumentException' with message 'Invalid draftOf value'

Additional info

  • Craft version: 3.5.16
  • PHP version: 7.4.14
  • Database driver & version: MySQL 5.7.32
@benface benface added the bug label Jan 30, 2021
@brandonkelly
Copy link
Member

Doh, thanks for reporting. Fixed for the next release.

@brandonkelly
Copy link
Member

Craft 3.6.3 is out now with that fix ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants