SS v4.2.1
When clicking on the ‘Files’ tab in the CMS I get this error:
Uncaught InvalidArgumentException: Type 'VersionedInputType' is not a registered GraphQL type
I also get that error if I try to ‘Browse’ an image from an image field from any of my pages within the CMS.
Uploading a new image from within a page seems to work fine though.
EDIT
I should also mention that this site is a copy of another site (Same /code as the other site with different styles) and the previous site works as expected.
I have also completely deleted the database and assets directory and started over with a fresh dev/build?flush=1
and still getting the same error.
My composer.json file looks like this:
"require": {
"silverstripe/framework" : "4.2.1",
"silverstripe/config" : "1.0.6",
"silverstripe/assets" : "1.2.1",
"silverstripe/admin" : "1.2.1",
"silverstripe/asset-admin" : "1.2.1",
"silverstripe/campaign-admin" : "1.2.1",
"silverstripe/cms" : "4.2.1",
"silverstripe/errorpage" : "1.2.1",
"silverstripe/reports" : "4.2.1",
"silverstripe/graphql" : "2.0.1",
"silverstripe/siteconfig" : "4.2.1",
"undefinedoffset/sortablegridfield" : "2.0.6",
"silverstripe/spamprotection" : "3.0.0",
"undefinedoffset/silverstripe-nocaptcha" : "2.0.0",
"unclecheese/display-logic" : "2.0.1"
}