We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
Got error 500 when calling "ray('Hello world');"
Log:
[2021-03-03 10:33:07] local.ERROR: Uncaught ArgumentCountError: Too few arguments to function Spatie\Ray\Origin\Origin::__construct(), 2 passed in E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php on line 30 and exactly 3 expected in E:\Development\gassner-webconnect\vendor\spatie\ray\src\Origin\Origin.php:11 Stack trace: #0 E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php(30): Spatie\Ray\Origin\Origin->__construct() #1 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Payloads\Payload.php(56): Spatie\LaravelRay\OriginFactory->getOrigin() #2 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Payloads\Payload.php(42): Spatie\Ray\Payloads\Payload->getOrigin() #3 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Request.php(30): Spatie\Ray\Payloads\Payload->toArray() #4 [internal function]: Spatie\Ray\Request->Spatie\Ray{closure}() #5 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Request.php(31): array_map() #6 E:\Development\gassner-webconnect\vendor\spa {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Uncaught ArgumentCountError: Too few arguments to function Spatie\Ray\Origin\Origin::__construct(), 2 passed in E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php on line 30 and exactly 3 expected in E:\Development\gassner-webconnect\vendor\spatie ay\src\Origin\Origin.php:11 Stack trace: #0 E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php(30): Spatie\Ray\Origin\Origin->__construct() #1 E:\Development\gassner-webconnect\vendor\spatie ay\src\Payloads\Payload.php(56): Spatie\LaravelRay\OriginFactory->getOrigin() #2 E:\Development\gassner-webconnect\vendor\spatie ay\src\Payloads\Payload.php(42): Spatie\Ray\Payloads\Payload->getOrigin() #3 E:\Development\gassner-webconnect\vendor\spatie ay\src\Request.php(30): Spatie\Ray\Payloads\Payload->toArray() #4 [internal function]: Spatie\Ray\Request->Spatie\Ray\{closure}() #5 E:\Development\gassner-webconnect\vendor\spatie ay\src\Request.php(31): array_map() #6 E:\Development\gassner-webconnect\vendor\spa at E:\Development\gassner-webconnect\vendor\spatie ay\src\Origin\Origin.php:11) [stacktrace] #0 {main} "}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Got error 500 when calling "ray('Hello world');"
Log:
[2021-03-03 10:33:07] local.ERROR: Uncaught ArgumentCountError: Too few arguments to function Spatie\Ray\Origin\Origin::__construct(), 2 passed in E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php on line 30 and exactly 3 expected in E:\Development\gassner-webconnect\vendor\spatie\ray\src\Origin\Origin.php:11
Stack trace:
#0 E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php(30): Spatie\Ray\Origin\Origin->__construct()
#1 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Payloads\Payload.php(56): Spatie\LaravelRay\OriginFactory->getOrigin()
#2 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Payloads\Payload.php(42): Spatie\Ray\Payloads\Payload->getOrigin()
#3 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Request.php(30): Spatie\Ray\Payloads\Payload->toArray()
#4 [internal function]: Spatie\Ray\Request->Spatie\Ray{closure}()
#5 E:\Development\gassner-webconnect\vendor\spatie\ray\src\Request.php(31): array_map()
#6 E:\Development\gassner-webconnect\vendor\spa {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Uncaught ArgumentCountError: Too few arguments to function Spatie\Ray\Origin\Origin::__construct(), 2 passed in E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php on line 30 and exactly 3 expected in E:\Development\gassner-webconnect\vendor\spatie
ay\src\Origin\Origin.php:11
Stack trace:
#0 E:\Development\gassner-webconnect\vendor\spatie\laravel-ray\src\OriginFactory.php(30): Spatie\Ray\Origin\Origin->__construct()
#1 E:\Development\gassner-webconnect\vendor\spatie
ay\src\Payloads\Payload.php(56): Spatie\LaravelRay\OriginFactory->getOrigin()
#2 E:\Development\gassner-webconnect\vendor\spatie
ay\src\Payloads\Payload.php(42): Spatie\Ray\Payloads\Payload->getOrigin()
#3 E:\Development\gassner-webconnect\vendor\spatie
ay\src\Request.php(30): Spatie\Ray\Payloads\Payload->toArray()
#4 [internal function]: Spatie\Ray\Request->Spatie\Ray\{closure}()
#5 E:\Development\gassner-webconnect\vendor\spatie
ay\src\Request.php(31): array_map()
#6 E:\Development\gassner-webconnect\vendor\spa at E:\Development\gassner-webconnect\vendor\spatie
ay\src\Origin\Origin.php:11)
[stacktrace]
#0 {main}
"}
The text was updated successfully, but these errors were encountered: