-
Notifications
You must be signed in to change notification settings - Fork 635
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
[5.x]: GraphQL - Setting unknown property: craft\elements\db\EntryQuery::volumeId #15341
Comments
It looks like |
We're getting the same issue using Matrix. I've managed to narrow it down to a specific Entry field in a Matrix block. We have other Entry fields in other Matrix blocks that are loading without issue, but it's worth noting that the fields that's erroring is linked to an entry with an Asset field at the top-level of the entry (others have asset fields as children of matrix blocks). It doesn't seem to matter what fields we query in the affected entry field, it still errors. The only way to stop the error is to either unlink the entry or not query the entry field at all. A basic entry layout would be: Entry -> Matrix Field -> Block with Entries field ->> links to ->> Entry with Asset field We're also in the process of migrating this existing site to Craft 5. Craft Pro 5.1.4 Plugins:
|
@Tam Any chance you can send a database backup and your Composer files over to [email protected]? |
I haven't been able to reliably reproduce on a fresh install yet, but the solution to @Tam's issue was removing the field handle override on that entry type. |
Huh, maybe related to #15623. |
What happened?
Description
I am in the process of migrating to Craft 5. We use Craft as a headless CMS and query everything over GraphQL. After migrating, we had to update all of our queries to use the new entry type names. During the process of migrating, I found a query that I cannot run and I get the following error:
Steps to reproduce
Here is the query:
Here is the entry type:
I suspect this field is part of the issue:
Expected behavior
The query should return an asset.
Actual behavior
The query throws the
Setting unknown property: craft\elements\db\EntryQuery::volumeId
error.Craft CMS version
Craft Pro 5.2.6
PHP version
8.2.20
Operating system and version
Linux 6.1.29-0-virt
Database type and version
PostgreSQL 13.11
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: