Skip to content
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

feat: added provisioning for the AWS linux 2023 image #8

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tobybatch
Copy link
Member

No description provided.

@tobybatch
Copy link
Member Author

[09-Oct-2024 13:54:25 Europe/London] PHP Fatal error:  Uncaught ReflectionException: Class "view" does not exist in /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Container/Container.php:889
Stack trace:
#0 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Container/Container.php(889): ReflectionClass->__construct()
#1 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Container/Container.php(770): Illuminate\Container\Container->build()
#2 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(856): Illuminate\Container\Container->resolve()
#3 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Container/Container.php(706): Illuminate\Foundation\Application->resolve()
#4 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\Container\Container->make()
#5 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Container/Container.php(1431): Illuminate\Foundation\Application->make()
#6 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(222): Illuminate\Container\Container->offsetGet()
#7 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(193): Illuminate\Support\Facades\Facade::resolveFacadeInstance()
#8 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(332): Illuminate\Support\Facades\Facade::getFacadeRoot()
#9 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(16): Illuminate\Support\Facades\Facade::__callStatic()
#10 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(642): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#11 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(623): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#12 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#13 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#14 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#15 /var/www/ARCVService/releases/ARCVService-1.16.8/app/Exceptions/Handler.php(131): Illuminate\Foundation\Exceptions\Handler->render()
#16 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): App\Exceptions\Handler->render()
#17 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#18 /var/www/ARCVService/releases/ARCVService-1.16.8/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#19 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#20 {main}

@charlesstrange2
Copy link
Contributor

charlesstrange2 commented Oct 18, 2024

@tobybatch I reckon it's trying to invoke a view to render an pretty http error message from an exception during bootstrapping ... and that's so early that the view class might not be bound into the container yet. hence the error.

If something is missing at that level, then i'd imagine there's

  • some dependency not installed properly
  • try composer dump-autoload (maybe?)
  • some kind of bad cache - look at artisan's cache clearing commands?

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

Successfully merging this pull request may close these issues.

2 participants