Skip to content

Fatal error: Uncaught TypeError: preg_match_all() expects parameter 2 to be string, boolean given #640

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

Closed
w-a-s opened this issue Apr 13, 2020 · 0 comments

Comments

@w-a-s
Copy link

w-a-s commented Apr 13, 2020

Hi,
I have some problem with ver 0.13.8 after install.
Any query take me next error (examples teke a same results):
Fatal error: Uncaught TypeError: preg_match_all() expects parameter 2 to be string, boolean given in /home/www/vendor/webonyx/graphql-php/src/Language/Source.php:76 Stack trace: #0 /home/www/vendor/webonyx/graphql-php/src/Language/Source.php(76): preg_match_all('/\r\n|[\n\r\xE2\x80\xA8\xE2...', false, Array, 256) #1 /home/www/vendor/webonyx/graphql-php/src/Error/Error.php(274): GraphQL\Language\Source->getLocation(0) #2 [internal function]: GraphQL\Error\Error::GraphQL\Error{closure}(0) #3 /home/www/vendor/webonyx/graphql-php/src/Error/Error.php(276): array_map(Object(Closure), Array) #4 /home/www/vendor/webonyx/graphql-php/src/Error/FormattedError.php(205): GraphQL\Error\Error->getLocations() #5 /home/www/vendor/webonyx/graphql-php/src/Error/FormattedError.php(307): GraphQL\Error\FormattedError::createFromException(Object(GraphQL\Error\SyntaxError)) #6 [internal function]: GraphQL\Error\FormattedError::GraphQL\Error{closure}(Object(GraphQL\Error\SyntaxError)) #7 /home/www/vendor/webonyx/graphql in /home/www/vendor/webonyx/graphql-php/src/Language/Source.php on line 76

What's wrong?
How fix it?
Thanks!

@w-a-s w-a-s closed this as completed Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant