Fresh Install, Error 500
Just freshly installed Wave, and am getting an error 500. When I check ~/storage/logs/laravel.log
this is what I get:
[2022-09-28 19:01:59] local.ERROR: Call to a member function guest() on bool {"view":{"view":"/var/www/wave/resources/views/themes/tailwind/partials/plans.blade.php","data":[]},"exception":"[object] (Spatie\\LaravelIgnition\\Exceptions\\ViewException(code: 0): Call to a member function guest() on bool at /var/www/wave/resources/views/themes/tailwind/partials/plans.blade.php:46)
[stacktrace]
#0 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require()
#1 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#2 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#3 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#4 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#5 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#6 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#7 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#8 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#9 /var/www/wave/resources/views/themes/tailwind/home.blade.php(199): Illuminate\\View\\View->render()
#10 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#11 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#12 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#13 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#14 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#15 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#16 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#17 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#18 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#19 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\\View\\View->render()
#20 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\\Http\\Response->setContent()
#21 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(833): Illuminate\\Http\\Response->__construct()
#22 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(802): Illuminate\\Routing\\Router::toResponse()
#23 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Router->prepareResponse()
#24 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#25 /var/www/wave/wave/src/Http/Middleware/InstallMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\InstallMiddleware->handle()
#27 /var/www/wave/wave/src/Http/Middleware/WaveMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\WaveMiddleware->handle()
#29 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#31 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#33 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#35 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#37 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#38 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#40 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#42 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#44 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#45 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#46 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#47 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#48 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#49 /var/www/wave/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#50 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\\DisableBrowserCache->handle()
#51 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#52 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#53 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#54 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#56 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#57 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#59 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#60 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#61 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#63 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#65 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#67 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#68 /var/www/wave/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#69 {main}
[previous exception] [object] (Error(code: 0): Call to a member function guest() on bool at /var/www/wave/storage/framework/views/7d85989ce6a5246259f3e2441ddeaaa27540e388.php:47)
[stacktrace]
#0 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require()
#1 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#2 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#3 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#4 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#5 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#6 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#7 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#8 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#9 /var/www/wave/storage/framework/views/c525ae4df41a0fa5377f0af109385d2ae8507ad9.php(198): Illuminate\\View\\View->render()
#10 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#11 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#12 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#13 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#14 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#15 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#16 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#17 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#18 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#19 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\\View\\View->render()
#20 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\\Http\\Response->setContent()
#21 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(833): Illuminate\\Http\\Response->__construct()
#22 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(802): Illuminate\\Routing\\Router::toResponse()
#23 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Router->prepareResponse()
#24 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#25 /var/www/wave/wave/src/Http/Middleware/InstallMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\InstallMiddleware->handle()
#27 /var/www/wave/wave/src/Http/Middleware/WaveMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\WaveMiddleware->handle()
#29 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#31 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#33 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#35 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#37 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#38 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#40 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#42 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#44 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#45 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#46 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#47 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#48 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#49 /var/www/wave/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#50 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\\DisableBrowserCache->handle()
#51 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#52 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#53 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#54 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#56 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#57 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#59 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#60 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#61 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#63 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#65 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#67 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#68 /var/www/wave/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#69 {main}
"}
Hi there,
Did you run php artisan migrate --seed
after the installation?
And is this error showing up on the home page or on another page?
Best,
Bobby
Yes, I did all the installation steps. This error shows up instantly after installation, there are no pages to access, just instant error 500.
I've not been able to replicate this problem.
Can you share more information about your installation?
- What is the OS that you are using?
- Are you using Apache or Nginx?
- What is your PHP version?
- Did you make any changes?
- Did you run
composer install
? - Did you try clearing you cache:
php artisan optimize:clear
? - Do you see any other errors in the log besides those two?
- Ubuntu 22.04
- Apache
- PHP 8.1.2
- No changes
- Yes, I followed the installation instructions exactly
- Yes, tried it just now, no change.
- No, only those errors.
Thank you for those extra details! I'll test it out with Apache and see if I can replicate the problem.
Usually, what I personally do is to use this 1-Click installation here:
https://marketplace.digitalocean.com/apps/laravel
This configures all of the necessary server requirements, including Nginx, PHP and MySQL.
However if you prefer using Apache, I'll need to do some testing and let you know soon.
I just tried installing Wave on a fresh new Ubuntu server with Apache and it worked as expected on the first try.
I followed the steps here:
What I could suggest is running an rm -rf your_wave_project
and the installing it again.
You can keep your .env
file so that you don't have to recreate it.
It is just a matter of running the following:
- Clone the repository:
git clone https://github.com/thedevdojo/wave.git
- Access the directory:
cd wave
- Define the
.env
variables:
cp .env.example .env
# Then define your database details in there
- Install the dependencies:
composer install
- Run the migrations:
php artisan migrate --seed
- Finally make sure that Apache has the correct privileges to read and write to the Wave directory.
Let me know how it goes.
root:/var/www# git clone https://github.com/thedevdojo/wave.git
Cloning into 'wave'...
remote: Enumerating objects: 2240, done.
remote: Counting objects: 100% (231/231), done.
remote: Compressing objects: 100% (172/172), done.
remote: Total 2240 (delta 67), reused 173 (delta 39), pack-reused 2009
Receiving objects: 100% (2240/2240), 11.86 MiB | 28.04 MiB/s, done.
Resolving deltas: 100% (823/823), done.
root:/var/www# cd wave
root:/var/ww/wave main# cp ../.env .env
root:/var/ww/wave main# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 132 installs, 0 updates, 0 removals
- Installing pestphp/pest-plugin (v1.0.0): Extracting archive
- Installing devdojo/app (0.11): Extracting archive
- Installing devdojo/themes (0.0.5): Extracting archive
- Installing doctrine/cache (2.2.0): Extracting archive
- Installing doctrine/deprecations (v1.0.0): Extracting archive
- Installing doctrine/event-manager (1.1.2): Extracting archive
- Installing doctrine/inflector (2.0.4): Extracting archive
- Installing doctrine/lexer (1.2.3): Extracting archive
- Installing symfony/polyfill-ctype (v1.26.0): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Installing dragonmantank/cron-expression (v3.3.1): Extracting archive
- Installing symfony/deprecation-contracts (v3.0.2): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing fakerphp/faker (v1.20.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.26.0): Extracting archive
- Installing symfony/http-foundation (v6.0.11): Extracting archive
- Installing fruitcake/php-cors (v1.2.0): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing psr/http-client (1.0.1): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-factory (1.0.1): Extracting archive
- Installing guzzlehttp/psr7 (2.4.0): Extracting archive
- Installing guzzlehttp/promises (1.5.1): Extracting archive
- Installing guzzlehttp/guzzle (7.4.5): Extracting archive
- Installing voku/portable-ascii (2.0.1): Extracting archive
- Installing symfony/polyfill-php80 (v1.26.0): Extracting archive
- Installing phpoption/phpoption (1.9.0): Extracting archive
- Installing graham-campbell/result-type (v1.1.0): Extracting archive
- Installing vlucas/phpdotenv (v5.4.1): Extracting archive
- Installing symfony/css-selector (v6.0.11): Extracting archive
- Installing tijsverkoyen/css-to-inline-styles (2.2.4): Extracting archive
- Installing symfony/var-dumper (v6.0.11): Extracting archive
- Installing symfony/routing (v6.0.11): Extracting archive
- Installing symfony/process (v6.0.11): Extracting archive
- Installing symfony/polyfill-php72 (v1.26.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.26.0): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.26.0): Extracting archive
- Installing symfony/mime (v6.0.11): Extracting archive
- Installing symfony/service-contracts (v3.0.2): Extracting archive
- Installing psr/event-dispatcher (1.0.0): Extracting archive
- Installing symfony/event-dispatcher-contracts (v3.0.2): Extracting archive
- Installing symfony/event-dispatcher (v6.0.9): Extracting archive
- Installing psr/log (3.0.0): Extracting archive
- Installing egulias/email-validator (3.2.1): Extracting archive
- Installing symfony/mailer (v6.0.11): Extracting archive
- Installing symfony/error-handler (v6.0.11): Extracting archive
- Installing symfony/http-kernel (v6.0.11): Extracting archive
- Installing symfony/finder (v6.0.11): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.26.0): Extracting archive
- Installing symfony/string (v6.0.11): Extracting archive
- Installing symfony/console (v6.0.11): Extracting archive
- Installing symfony/polyfill-php81 (v1.26.0): Extracting archive
- Installing ramsey/collection (1.2.2): Extracting archive
- Installing brick/math (0.10.2): Extracting archive
- Installing ramsey/uuid (4.4.0): Extracting archive
- Installing psr/simple-cache (3.0.0): Extracting archive
- Installing nunomaduro/termwind (v1.14.0): Extracting archive
- Installing symfony/translation-contracts (v3.0.2): Extracting archive
- Installing symfony/translation (v6.0.11): Extracting archive
- Installing nesbot/carbon (2.61.0): Extracting archive
- Installing monolog/monolog (2.8.0): Extracting archive
- Installing league/mime-type-detection (1.11.0): Extracting archive
- Installing league/flysystem (3.2.1): Extracting archive
- Installing nette/utils (v3.2.7): Extracting archive
- Installing nette/schema (v1.2.2): Extracting archive
- Installing dflydev/dot-access-data (v3.0.1): Extracting archive
- Installing league/config (v1.1.1): Extracting archive
- Installing league/commonmark (2.3.5): Extracting archive
- Installing laravel/serializable-closure (v1.2.0): Extracting archive
- Installing laravel/framework (v9.25.1): Extracting archive
- Installing lab404/laravel-impersonate (1.7.3): Extracting archive
- Installing php-webdriver/webdriver (1.12.1): Extracting archive
- Installing laravel/dusk (v6.25.1): Extracting archive
- Installing laravel/sail (v1.15.4): Extracting archive
- Installing nikic/php-parser (v4.14.0): Extracting archive
- Installing psy/psysh (v0.11.8): Extracting archive
- Installing laravel/tinker (v2.7.2): Extracting archive
- Installing stella-maris/clock (0.1.5): Extracting archive
- Installing lcobucci/clock (2.2.0): Extracting archive
- Installing livewire/livewire (v2.10.7): Extracting archive
- Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
- Installing mockery/mockery (1.5.0): Extracting archive
- Installing filp/whoops (2.14.5): Extracting archive
- Installing facade/ignition-contracts (1.0.2): Extracting archive
- Installing nunomaduro/collision (v6.2.1): Extracting archive
- Installing sebastian/version (3.0.2): Extracting archive
- Installing sebastian/type (3.0.0): Extracting archive
- Installing sebastian/resource-operations (3.0.3): Extracting archive
- Installing sebastian/recursion-context (4.0.4): Extracting archive
- Installing sebastian/object-reflector (2.0.4): Extracting archive
- Installing sebastian/object-enumerator (4.0.4): Extracting archive
- Installing sebastian/global-state (5.0.5): Extracting archive
- Installing sebastian/exporter (4.0.4): Extracting archive
- Installing sebastian/environment (5.1.4): Extracting archive
- Installing sebastian/diff (4.0.4): Extracting archive
- Installing sebastian/comparator (4.0.6): Extracting archive
- Installing sebastian/code-unit (1.0.8): Extracting archive
- Installing sebastian/cli-parser (1.0.1): Extracting archive
- Installing phpunit/php-timer (5.0.3): Extracting archive
- Installing phpunit/php-text-template (2.0.4): Extracting archive
- Installing phpunit/php-invoker (3.1.1): Extracting archive
- Installing phpunit/php-file-iterator (3.0.6): Extracting archive
- Installing theseer/tokenizer (1.2.1): Extracting archive
- Installing sebastian/lines-of-code (1.0.3): Extracting archive
- Installing sebastian/complexity (2.0.2): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
- Installing phpunit/php-code-coverage (9.2.16): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing phpdocumentor/type-resolver (1.6.1): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
- Installing doctrine/instantiator (1.4.1): Extracting archive
- Installing phpspec/prophecy (v1.15.0): Extracting archive
- Installing phar-io/version (3.2.1): Extracting archive
- Installing phar-io/manifest (2.0.3): Extracting archive
- Installing myclabs/deep-copy (1.11.0): Extracting archive
- Installing phpunit/phpunit (9.5.22): Extracting archive
- Installing pestphp/pest (v1.21.3): Extracting archive
- Installing pestphp/pest-plugin-laravel (v1.2.0): Extracting archive
- Installing spatie/backtrace (1.2.1): Extracting archive
- Installing spatie/flare-client-php (1.3.0): Extracting archive
- Installing spatie/ignition (1.3.1): Extracting archive
- Installing spatie/laravel-ignition (1.3.1): Extracting archive
- Installing symfony/polyfill-php56 (v1.20.0)
- Installing laravel/ui (v4.0.0): Extracting archive
- Installing doctrine/dbal (2.13.9): Extracting archive
- Installing larapack/doctrine-support (v0.1.9): Extracting archive
- Installing intervention/image (2.7.2): Extracting archive
- Installing arrilot/laravel-widgets (3.13.1): Extracting archive
- Installing tcg/voyager (1.5.x-dev d45e0e7): Extracting archive
- Installing namshi/jose (7.2.3): Extracting archive
- Installing lcobucci/jwt (4.2.1): Extracting archive
- Installing tymon/jwt-auth (dev-develop 014be8d): Extracting archive
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
INFO Discovering packages.
arrilot/laravel-widgets ......................................................... DONE
intervention/image .............................................................. DONE
lab404/laravel-impersonate ...................................................... DONE
larapack/doctrine-support ....................................................... DONE
laravel/dusk .................................................................... DONE
laravel/sail .................................................................... DONE
laravel/tinker .................................................................. DONE
laravel/ui ...................................................................... DONE
livewire/livewire ............................................................... DONE
nesbot/carbon ................................................................... DONE
nunomaduro/collision ............................................................ DONE
nunomaduro/termwind ............................................................. DONE
pestphp/pest .................................................................... DONE
spatie/laravel-ignition ......................................................... DONE
tcg/voyager ..................................................................... DONE
tymon/jwt-auth .................................................................. DONE
> @php artisan storage:link
INFO The [public/storage] link has been connected to [storage/app/public].
INFO The [public/wave/docs] link has been connected to [wave/docs].
92 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
root:/var/ww/wave main# php artisan migrate --seed
INFO Preparing database.
Creating migration table ................................................... 15ms DONE
INFO Running migrations.
2014_10_12_000000_create_users_table ....................................... 18ms DONE
2014_10_12_100000_create_password_resets_table ............................. 18ms DONE
2016_01_01_000000_add_voyager_user_fields ................................... 8ms DONE
2016_01_01_000000_create_data_types_table .................................. 49ms DONE
2016_01_01_000000_create_pages_table ....................................... 17ms DONE
2016_01_01_000000_create_posts_table ....................................... 18ms DONE
2016_02_15_204651_create_categories_table .................................. 34ms DONE
2016_05_19_173453_create_menu_table ........................................ 36ms DONE
2016_10_21_190000_create_roles_table ....................................... 14ms DONE
2016_10_21_190000_create_settings_table .................................... 14ms DONE
2016_11_30_135954_create_permission_table .................................. 13ms DONE
2016_11_30_141208_create_permission_role_table ............................. 59ms DONE
2016_12_26_201236_data_types__add__server_side ............................. 10ms DONE
2017_01_13_000000_add_route_to_menu_items_table ............................. 7ms DONE
2017_01_14_005015_create_translations_table ................................ 15ms DONE
2017_01_15_000000_make_table_name_nullable_in_permissions_table ............ 26ms DONE
2017_03_06_000000_add_controller_to_data_types_table ....................... 10ms DONE
2017_04_11_000000_alter_post_nullable_fields_table ......................... 18ms DONE
2017_04_21_000000_add_order_to_data_rows_table .............................. 9ms DONE
2017_07_05_210000_add_policyname_to_data_types_table ....................... 10ms DONE
2017_08_05_000000_add_group_to_settings_table ............................... 6ms DONE
2017_11_26_013050_add_user_role_relationship ............................... 42ms DONE
2017_11_26_015000_create_user_roles_table .................................. 72ms DONE
2018_03_11_000000_add_user_settings ........................................ 14ms DONE
2018_03_14_000000_add_details_to_data_types_table .......................... 10ms DONE
2018_03_16_000000_make_settings_value_nullable ............................. 17ms DONE
2018_09_22_234251_add_permissions_group_id_to_permissions_table ............. 9ms DONE
2018_09_22_234251_add_username_billing_to_users ............................ 23ms DONE
2018_09_22_234251_create_announcement_user_table ........................... 21ms DONE
2018_09_22_234251_create_announcements_table ................................ 7ms DONE
2018_09_22_234251_create_api_keys_table .................................... 14ms DONE
2018_09_22_234251_create_notifications_table ............................... 30ms DONE
2018_09_22_234251_create_permission_groups_table ........................... 13ms DONE
2018_09_22_234251_create_plans_table ....................................... 21ms DONE
2018_09_22_234251_create_subscriptions_table ................................ 8ms DONE
2018_09_22_234251_create_voyager_theme_options_table ....................... 14ms DONE
2018_09_22_234251_create_voyager_themes_table .............................. 14ms DONE
2018_09_22_234251_create_wave_key_values_table ............................. 14ms DONE
2018_09_22_234252_add_foreign_keys_to_announcement_user_table .............. 35ms DONE
2018_09_22_234252_add_foreign_keys_to_plans_table .......................... 17ms DONE
2020_03_30_032031_change_voyager_themes_table_name .......................... 8ms DONE
2020_04_22_234252_add_foreign_keys_to_voyager_theme_options_table .......... 24ms DONE
2020_06_23_210721_add_stripe_status_column_to_subscriptions_table ........... 8ms DONE
2020_07_03_000003_create_subscription_items_table .......................... 31ms DONE
2021_01_28_041011_create_paddle_subscriptions_table ........................ 19ms DONE
2021_01_28_182638_removing_cashier_sub_tables ............................... 7ms DONE
2021_01_29_173720_add_slug_column_to_plans_table ........................... 16ms DONE
2022_05_12_011008_add_payment_dates_to_paddle_subscriptions ................. 7ms DONE
INFO Seeding database.
Database\Seeders\RolesTableSeeder ............................................ RUNNING
Database\Seeders\RolesTableSeeder ....................................... 3.01 ms DONE
Database\Seeders\UsersTableSeeder ............................................ RUNNING
Database\Seeders\UsersTableSeeder ....................................... 2.40 ms DONE
Database\Seeders\UserRolesTableSeeder ........................................ RUNNING
Database\Seeders\UserRolesTableSeeder ................................... 0.56 ms DONE
Database\Seeders\AnnouncementsTableSeeder .................................... RUNNING
Database\Seeders\AnnouncementsTableSeeder ............................... 2.84 ms DONE
Database\Seeders\ApiKeysTableSeeder .......................................... RUNNING
Database\Seeders\ApiKeysTableSeeder ..................................... 0.45 ms DONE
Database\Seeders\CategoriesTableSeeder ....................................... RUNNING
Database\Seeders\CategoriesTableSeeder .................................. 1.77 ms DONE
Database\Seeders\DataTypesTableSeeder ........................................ RUNNING
Database\Seeders\DataTypesTableSeeder ................................... 2.94 ms DONE
Database\Seeders\DataRowsTableSeeder ......................................... RUNNING
Database\Seeders\DataRowsTableSeeder .................................... 4.57 ms DONE
Database\Seeders\MenusTableSeeder ............................................ RUNNING
Database\Seeders\MenusTableSeeder ....................................... 1.53 ms DONE
Database\Seeders\MenuItemsTableSeeder ........................................ RUNNING
Database\Seeders\MenuItemsTableSeeder ................................... 3.03 ms DONE
Database\Seeders\NotificationsTableSeeder .................................... RUNNING
Database\Seeders\NotificationsTableSeeder ............................... 0.29 ms DONE
Database\Seeders\PagesTableSeeder ............................................ RUNNING
Database\Seeders\PagesTableSeeder ....................................... 2.06 ms DONE
Database\Seeders\PasswordResetsTableSeeder ................................... RUNNING
Database\Seeders\PasswordResetsTableSeeder .............................. 0.29 ms DONE
Database\Seeders\PermissionsTableSeeder ...................................... RUNNING
Database\Seeders\PermissionsTableSeeder ................................. 2.78 ms DONE
Database\Seeders\PermissionRoleTableSeeder ................................... RUNNING
Database\Seeders\PermissionRoleTableSeeder .............................. 2.91 ms DONE
Database\Seeders\PermissionGroupsTableSeeder ................................. RUNNING
Database\Seeders\PermissionGroupsTableSeeder ............................ 0.28 ms DONE
Database\Seeders\PlansTableSeeder ............................................ RUNNING
Database\Seeders\PlansTableSeeder ....................................... 1.54 ms DONE
Database\Seeders\PostsTableSeeder ............................................ RUNNING
Database\Seeders\PostsTableSeeder ....................................... 3.14 ms DONE
Database\Seeders\SettingsTableSeeder ......................................... RUNNING
Database\Seeders\SettingsTableSeeder .................................... 1.96 ms DONE
Database\Seeders\TranslationsTableSeeder ..................................... RUNNING
Database\Seeders\TranslationsTableSeeder ................................ 2.59 ms DONE
Database\Seeders\VoyagerThemesTableSeeder .................................... RUNNING
Database\Seeders\VoyagerThemesTableSeeder ............................... 2.01 ms DONE
Database\Seeders\VoyagerThemeOptionsTableSeeder .............................. RUNNING
Database\Seeders\VoyagerThemeOptionsTableSeeder ......................... 1.20 ms DONE
Database\Seeders\WaveKeyValuesTableSeeder .................................... RUNNING
Database\Seeders\WaveKeyValuesTableSeeder ............................... 1.35 ms DONE
root:/var/ww/wave main#
This gives me a forbidden error out of the box
/var/log/apache2/error.log
[Mon Oct 03 18:29:37.023106 2022] [rewrite:error] [pid 2019326] [client ::1:55088] AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : /var/www/wave/public/favicon.ico, referer: https://app-dev.lunarwebsite.ca/
Which I resolve by editing Options -MultiViews -Indexes
on line 3 in /var/www/wave/public/.htaccess
to Options +FollowSymLinks -MultiViews -Indexes
Which then results in the error 500, where /var/www/storage/logs/laravel.log
then contains
[2022-10-04 01:35:19] local.ERROR: Call to a member function guest() on bool {"view":{"view":"/var/www/wave/resources/views/themes/tailwind/partials/plans.blade.php","data":[]},"exception":"[object] (Spatie\\LaravelIgnition\\Exceptions\\ViewException(code: 0): Call to a member function guest() on bool at /var/www/wave/resources/views/themes/tailwind/partials/plans.blade.php:46)
[stacktrace]
#0 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require()
#1 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#2 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#3 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#4 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#5 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#6 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#7 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#8 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#9 /var/www/wave/resources/views/themes/tailwind/home.blade.php(199): Illuminate\\View\\View->render()
#10 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#11 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#12 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#13 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#14 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#15 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#16 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#17 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#18 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#19 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\\View\\View->render()
#20 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\\Http\\Response->setContent()
#21 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(833): Illuminate\\Http\\Response->__construct()
#22 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(802): Illuminate\\Routing\\Router::toResponse()
#23 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Router->prepareResponse()
#24 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#25 /var/www/wave/wave/src/Http/Middleware/InstallMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\InstallMiddleware->handle()
#27 /var/www/wave/wave/src/Http/Middleware/WaveMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\WaveMiddleware->handle()
#29 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#31 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#33 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#35 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#37 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#38 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#40 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#42 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#44 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#45 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#46 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#47 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#48 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#49 /var/www/wave/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#50 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\\DisableBrowserCache->handle()
#51 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#52 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#53 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#54 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#56 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#57 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#59 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#60 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#61 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#63 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#65 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#67 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#68 /var/www/wave/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#69 {main}
[previous exception] [object] (Error(code: 0): Call to a member function guest() on bool at /var/www/wave/storage/framework/views/87adf6b2acb2e05db83cd0ceebce0908bd3e2425.php:47)
[stacktrace]
#0 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require()
#1 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#2 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#3 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#4 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#5 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#6 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#7 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#8 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#9 /var/www/wave/storage/framework/views/5e0cde5cae257bfa900e0332206e3c6a3dd79e5b.php(198): Illuminate\\View\\View->render()
#10 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#11 /var/www/wave/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#12 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\\Filesystem\\Filesystem->getRequire()
#13 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#14 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Livewire\\LivewireViewCompilerEngine->evaluatePath()
#15 /var/www/wave/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\\View\\Engines\\CompilerEngine->get()
#16 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(139): Livewire\\LivewireViewCompilerEngine->get()
#17 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#18 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#19 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\\View\\View->render()
#20 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\\Http\\Response->setContent()
#21 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(833): Illuminate\\Http\\Response->__construct()
#22 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(802): Illuminate\\Routing\\Router::toResponse()
#23 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Router->prepareResponse()
#24 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#25 /var/www/wave/wave/src/Http/Middleware/InstallMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\InstallMiddleware->handle()
#27 /var/www/wave/wave/src/Http/Middleware/WaveMiddleware.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Wave\\Http\\Middleware\\WaveMiddleware->handle()
#29 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#31 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#33 /var/www/wave/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#35 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /var/www/wave/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#37 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#38 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#40 /var/www/wave/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#42 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#44 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#45 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#46 /var/www/wave/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#47 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#48 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#49 /var/www/wave/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#50 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\\DisableBrowserCache->handle()
#51 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#52 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#53 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#54 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#56 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#57 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#59 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#60 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#61 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#63 /var/www/wave/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#65 /var/www/wave/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#67 /var/www/wave/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#68 /var/www/wave/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#69 {main}
"}
Hi there,
I'm currently out of ideas. If you wish feel free to provide me with access to your server and I can take a further look.
If not, I could suggest checking these things here:
- Create an info.php file inside the public directory with the following content:
<?php
phpinfo();
- Then visit that file via your browser and see if you actually can see the correct PHP version
- Share your Apache Vhost here so I could take a look in case that anything might be missing
- Make sure to set the ownership of the
/var/www/wave
directory to the Apache user, eg:chown -R www-data:www-data /var/www/wave
Upon inspection of the line the error occurs on, I've found a conflict with wave, which makes it that I may not be able to use wave.
My systems use global plugins that affect all sites that run under my network and cannot be disabled on a per-domain basis. One of these plugins implements an auth()
function, which allows for cross-domain authentication of admins.
This function causes conflicts with wave, which also happens to have an auth()
function, which returns an object, whereas the auth()
function we implement returns a bool.
Unfortunately, I believe this means, I cannot use wave within my network, as these can't be disabled. The only option for me would likely be a docker container, which doesn't appear to be officially supported, just by glancing over the docs.
Edit: I found wave + sail, and ran the ./vendor/bin/sail up -d
and managed to get it to start, and connected the proxy via nginx, but I'm now getting a 502 error at cloudflare, and nginx error.log has
2022/10/04 16:10:06 [error] 2253896#2253896: *1 recv() failed (104: Unknown error) while reading response header from upstream, client: 172.71.151.18, server: app-dev.lunarwebsite.ca, request: "GET / HTTP/1.1", upstream: "http://[::1]:9696/", host: "app-dev.lunarwebsite.ca", referrer: "https://app-dev.lunarwebsite.ca/"
2022/10/04 16:10:06 [error] 2253896#2253896: *1 recv() failed (104: Unknown error) while reading response header from upstream, client: 172.71.151.18, server: app-dev.lunarwebsite.ca, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9696/", host: "app-dev.lunarwebsite.ca", referrer: "https://app-dev.lunarwebsite.ca/"
2022/10/04 16:10:06 [error] 2253896#2253896: *4 no live upstreams while connecting to upstream, client: 172.71.151.52, server: app-dev.lunarwebsite.ca, request: "GET /favicon.ico HTTP/1.1", upstream: "http://localhost/favicon.ico", host: "app-dev.lunarwebsite.ca", referrer: "https://app-dev.lunarwebsite.ca/"
Even a curl from inside the box to http://localhost:9696/ returns a connection reset by peer error.
relevant .env section:
APP_PORT=9696
WWWUSER=33
WWWGROUP=33
FORWARD_DB_PORT=33061
Hi there,
Ah that is an interesting finding. I think that the auth()
helper function is something that comes out of the box with Laravel rather than specifically Wave:
https://laravel.com/docs/9.x/helpers#method-auth
Are you using Laravel for the rest of your applications?
Regarding the Sail problem, are you seeing any errors in the container logs? And are all of the containers up and running?
Are you using Laravel for the rest of your applications?
No this is my first laravel app. we've used vanilla php for everything else.
Regarding the Sail problem, are you seeing any errors in the container logs? And are all of the containers up and running?
I appear to be unable to establish a database connection. the MySQL container wants to expose on 3306, which conflicts with the existing MySQL server on my host, and changing the forwarding port with FORWARD_DB_PORT
in .env
works to bring the container online but doesn't work to establish a connection, and changing the DB_PORT
in .env
also doesn't work to establish a connection.
Commenting out/disabling the MySQL container in docker-compose, has the same effect as changing the forwarding port.
Hi there,
What are you setting your DB_HOST
to in the .env
file? It should match the name of the MySQL container, otherwise if it is 127.0.0.1
the web container will try to connect to MySQL locally inside the web container itself which is incorrect.
The database details in your .env
file should be set to something like this:
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3307
DB_DATABASE=wave
DB_USERNAME=sail
DB_PASSWORD=password
And the FORWARD_DB_PORT:-3306
in the docker-compose file to 3307 as well, so that could be the exposed port.
Let me know how it goes!
Then start sail:
bash ./vendor/bin/sail up -d
Run the migrations:
./vendor/bin/sail artisan migrate
./vendor/bin/sail artisan db:seed
Let me know how it goes.
Still getting a connection error after trying your suggestion. I tried host as mysql
wave_mysql_1
wave_mysql
mysql_1
and sail
based on information provided during ./vendor/bin/sail up-d
as well as information in docker-compose.yml