richardreen
richardreen
I did what' s mentioned in #35812 (so change line 89 in Pool.php) but that did not work. I got syntax error, unexpected '{'#0 /home/user222/domains/xxxxxx.xx/public_html/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/u58658p55...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Magento\\Framewo...')...
After correcting the files used by module-graphql ( see https://github.com/magento/magento2/issues/35412) the errors are gone and all is working well. Can execute graphql queries and get result and the fronted is...
Yes that is the correct files …
I doubt that, just been looking at some code at GitHub with tag 2.4.5 and then these files are not corrected…so I suspect this error is back again if installed...
I did change the line in pool.php as described here . But new error, syntax error....I can not find the error... syntax error, unexpected '{'#0 /home/user222/domains/xxxxxx.xx/public_html/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/u58658p55...') #1 [internal function]:...
oke, corrected it and now it runs...no error about syntax error anymore. Let's see if this is solving the graphql error.
now presenting a new error: Notice: Undefined index: query in /home/u222/domains/xxxxxx.xx/public_html/vendor/magento/module-graph-ql/Controller/GraphQl.php on line 208 and the salt entry still added to env.php
after correcting that, the next error {"errors":[{"message":"Syntax Error: Unexpected ","extensions":{"category":"graphql"},"locations":[{"line":1,"column":1}]}]} and 500 error and salt...in the env.php.. still not solved!!
I can confirm it, after installing of 2.4.5-p1 this error was there again. But lucky, the mentioned solution of @Hexmage was the only correction to make and then it works...