Undefined array key 'type' | FieldArgument.php #913
Unanswered
EricChambersPowerDigital
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Please paste the definition where you defined |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thrown Error: ErrorException: Undefined array key "type" in file /var/www/html/vendor/webonyx/graphql-php/src/Type/Definition/FieldArgument.php on line 89
Error Code Location:
Console Log of Data Issue:
Composer Package Versions:
Hack that fixes issue:
Thought Process & More Information:
The type definition is coming from the DB model class, the data type is the same as many other data types that still define the index as 'type'. I cannot see anything wrong with the model definition, relationships or anything in the code itself. Seems that the definition is some how being built incorrectly.
Any help would be much appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions