-
Notifications
You must be signed in to change notification settings - Fork 642
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
TypeError when querying GraphQL #4848
Comments
Is it possible to get a DB dump, composer.lock and composer.json files over email to [email protected]? |
Also, if it is, can you reference this github issue? |
From the error it looks like you had a Matrix field that was converted to an Entries field. Unfortunately Craft doesn’t currently have a way to clean up after itself when that happens, so the Matrix blocks still exist in the database. I’ve just updated To get the fix early, change your "require": {
"craftcms/cms": "dev-develop#16c1db5676c7c5eab63c56c927c9f576466073ee as 3.3.0.1",
"...": "..."
} Then run |
Thank you Brandon, good to know! will give it a try. |
Did this end up fixing it for you @vieko ? |
This did fix it for me. |
@brandonkelly I'm getting this error (
This works perfectly fine when launched from Any hint? (the field has always been there, never changed). On the logs:
JFYI, the call:
|
@ricricucit is the schema associated with the token configured to actually see the relevant global set? |
yep |
@ricricucit is it possible to get a DB dump and the composer.json/composer.lock files to reproduce? If so, can you send the over to [email protected] and reference this issue? |
ok, sending a WeTransfer. |
@ricricucit did you find a solution for this? I'm running into the exact same issue. |
sorry, but unfortunately I do not remember. Checking in my inbox, the communication with CraftCMS support have been dropped, without a clear solution from anyone, but looking at the client's website...things are actually working, so I solved it, somehow.......that's all I can say... |
@ricricucit @roelvanhintum
I would probably not call it a dropped conversation with no real solution from anyone. |
ok, I have dropped the convo, and: sorry @andris-sevcenko. Re-reading my message, it sounded like blaming support, which was not at all my intention. I do remember that the hint wasn't useful, tho...so I might have solved it using a new DB dump or something like that. @roelvanhintum: now @andris-sevcenko is here, you can ask him 👋🙂 |
@ricricucit all good, Ricardo. @roelvanhintum if you look at the token listing page, does the token "last used" time update after each request? |
@andris-sevcenko i'm using the public scheme, so tokens shouldn't mather right? Ping does work, but all the other stuff does not. I'm guessing the public scheme settings aren't enforced from the project config. I'll try enabling admin to verify this. Also, I am going to try copying my database to the accept server to see if that fixes it. The acceptance db is setup using the project config, instead of a database copy, so maybe that is the problem. |
@andris-sevcenko somehow i ended up with 2 public schemes in my accept environment ( |
@roelvanhintum huh. That's odd. Let me know if you ever encounter this again! |
Description
I get the following error regardless of what query I run:
{"error": "Something went wrong when processing the GraphQL query."}
Looks like we are running into a type error when generating the schema:
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: