I’ve had a working installation of InvoiceNinja v5 on Ubuntu 22.04 LTS for quite awhile now working very smoothly in both the web and mobile apps, and I’ve just attempted an upgrade to v5.10 earlier today from v5.8.x. After upgrading, when I attempted to run the /update?secret=, I came across the message saying I needed PHP 8.2. I was on 8.1. So, I decided to go to 8.3, seeing at least a few others on this forum mention that 8.3 was working.
I just finished my PHP 8.3 upgrade, ensuring I have all the modules installed that I need, and low and behold, every web application on the server works perfectly with PHP 8.3 FPM except InvoiceNinja.
After the PHP upgrade, I again tried to run the update URL, but this time, I just got a white page in the browser, and while tail’ing /var/log/apache2/error.log, this appears:
[Sun Jul 28 00:18:57.444128 2024] [proxy_fcgi:error] [pid 2000:tid 139909863609920] [remote :27283] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ReflectionException: Class “view” does not exist in /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:938\nStack trace:\n#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(938): ReflectionClass->__construct()\n#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()\n#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()\n#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()\n#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()\n#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php…; PHP message: PHP Fatal error: Uncaught ReflectionException: Class “view” does not exist in /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:938\nStack trace:\n#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(938): ReflectionClass->__construct()\n#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()\n#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()\n#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()\n#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()\n#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php…’
If I go to the login page, the login page does appear, but it no longer accepts my credentials.
If I roll back by restoring a copy of the web files and a copy of the database before upgrade, and then try loading InvoiceNinja in the web, I’m able to log in, but the interface immediately crashes when I try to load it. I see the side bar appear for a brief moment, and then the screen goes white, leading me to believe that the 5.8.x version of InvoiceNinja isn’t happy with PHP 8.3.
I currently have a non-working installation, but everything else on the server works perfectly after the PHP upgrade. How can I recover from this? Is there a bug in the latest version?
I should note as well that the database appears to be perfectly in tact with my user account, all my client records, and all my invoice records, and the .env file in the root of the installation directory appears untouched and correct and pointing at the right database.
Here’s the /storage/logs/laravel log from when I attempt to run the update URL:
[2024-07-28 07:34:37] production.ERROR: Class “Spatie\LaravelData\LaravelDataServiceProvider” not found {“exception”:"[object] (Error(code: 0): Class "Spatie\LaravelData\LaravelDataServiceProvider" not found at /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:206)
[stacktrace]
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(142): Illuminate\Foundation\ProviderRepository->createProvider()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(61): Illuminate\Foundation\ProviderRepository->compileManifest()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(843): Illuminate\Foundation\ProviderRepository->load()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(37): Illuminate\Foundation\Application->registerConfiguredProviders()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(316): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(186): Illuminate\Foundation\Application->bootstrapWith()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\Foundation\Http\Kernel->bootstrap()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#8 /InvoiceNinjaRoot/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle()
#9 {main}
“}
[2024-07-28 07:34:37] production.ERROR: Target class [view] does not exist. {“exception”:”[object] (Illuminate\Contracts\Container\BindingResolutionException(code: 0): Target class [view] does not exist. at /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:940)
[stacktrace]
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(1570): Illuminate\Foundation\Application->make()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): Illuminate\Container\Container->offsetGet()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(208): Illuminate\Support\Facades\Facade::resolveFacadeInstance()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(351): Illuminate\Support\Facades\Facade::getFacadeRoot()
#8 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(16): Illuminate\Support\Facades\Facade::__callStatic()
#9 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(907): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#10 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(882): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#11 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(807): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#12 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(698): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#13 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(587): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#14 /InvoiceNinjaRoot/app/Exceptions/Handler.php(247): Illuminate\Foundation\Exceptions\Handler->render()
#15 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(509): App\Exceptions\Handler->render()
#16 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(148): Illuminate\Foundation\Http\Kernel->renderException()
#17 /InvoiceNinjaRoot/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle()
#18 {main}
[previous exception] [object] (ReflectionException(code: -1): Class "view" does not exist at /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:938)
[stacktrace]
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(938): ReflectionClass->__construct()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(1570): Illuminate\Foundation\Application->make()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): Illuminate\Container\Container->offsetGet()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(208): Illuminate\Support\Facades\Facade::resolveFacadeInstance()
#8 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(351): Illuminate\Support\Facades\Facade::getFacadeRoot()
#9 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(16): Illuminate\Support\Facades\Facade::__callStatic()
#10 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(907): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#11 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(882): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#12 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(807): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#13 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(698): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#14 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(587): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#15 /InvoiceNinjaRoot/app/Exceptions/Handler.php(247): Illuminate\Foundation\Exceptions\Handler->render()
#16 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(509): App\Exceptions\Handler->render()
#17 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(148): Illuminate\Foundation\Http\Kernel->renderException()
#18 /InvoiceNinjaRoot/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle()
#19 {main}
"}
[2024-07-28 07:34:37] production.ERROR: Uncaught ReflectionException: Class “view” does not exist in /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:938
Stack trace:
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(938): ReflectionClass->__construct()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(1570): Illuminate\Foundation\Application->make()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): Illuminate\Container\Container->offsetGet()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(208): Illuminate\Support\Facades\Facade::resolveFacadeInstance()
#8 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(351): Illuminate\Support\Facades\Facade::getFacadeRoot()
#9 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(16): Illuminate\Support\Facades\Facade::__callStatic()
#10 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(907): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#11 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(882): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#12 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(807): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#13 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(698): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#14 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(587): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#15 /InvoiceNinjaRoot/app/Exceptions/Handler.php(247): Illuminate\Foundation\Exceptions\Handler->render()
#16 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(219): App\Exceptions\Handler->render()
#17 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(196): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#18 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(256): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#19 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap{closure}()
#20 {main}
Next Illuminate\Contracts\Container\BindingResolutionException: Target class [view] does not exist. in /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:940
Stack trace:
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(1570): Illuminate\Foundation\Application->make()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): Illuminate\Container\Container->offsetGet()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(208): Illuminate\Support\Facades\Facade::resolveFacadeInstance()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(351): Illuminate\Support\Facades\Facade::getFacadeRoot()
#8 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(16): Illuminate\Support\Facades\Facade::__callStatic()
#9 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(907): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#10 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(882): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#11 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(807): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#12 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(698): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#13 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(587): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#14 /InvoiceNinjaRoot/app/Exceptions/Handler.php(247): Illuminate\Foundation\Exceptions\Handler->render()
#15 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(219): App\Exceptions\Handler->render()
#16 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(196): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#17 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(256): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#18 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap{closure}()
#19 {main}
thrown {“exception”:"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Uncaught ReflectionException: Class "view" does not exist in /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:938
Stack trace:
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(938): ReflectionClass->__construct()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(1570): Illuminate\Foundation\Application->make()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): Illuminate\Container\Container->offsetGet()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(208): Illuminate\Support\Facades\Facade::resolveFacadeInstance()
#8 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(351): Illuminate\Support\Facades\Facade::getFacadeRoot()
#9 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(16): Illuminate\Support\Facades\Facade::__callStatic()
#10 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(907): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#11 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(882): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#12 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(807): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#13 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(698): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#14 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(587): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#15 /InvoiceNinjaRoot/app/Exceptions/Handler.php(247): Illuminate\Foundation\Exceptions\Handler->render()
#16 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(219): App\Exceptions\Handler->render()
#17 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(196): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#18 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(256): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#19 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#20 {main}
Next Illuminate\Contracts\Container\BindingResolutionException: Target class [view] does not exist. in /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:940
Stack trace:
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1046): Illuminate\Container\Container->resolve()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1028): Illuminate\Container\Container->make()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php(1570): Illuminate\Foundation\Application->make()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): Illuminate\Container\Container->offsetGet()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(208): Illuminate\Support\Facades\Facade::resolveFacadeInstance()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(351): Illuminate\Support\Facades\Facade::getFacadeRoot()
#8 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(16): Illuminate\Support\Facades\Facade::__callStatic()
#9 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(907): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#10 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(882): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#11 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(807): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#12 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(698): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#13 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(587): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#14 /InvoiceNinjaRoot/app/Exceptions/Handler.php(247): Illuminate\Foundation\Exceptions\Handler->render()
#15 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(219): App\Exceptions\Handler->render()
#16 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(196): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#17 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(256): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#18 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#19 {main}
thrown at /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Container/Container.php:940)
[stacktrace]
#0 {main}
"}
Here’s the laravel log from when I attempt to login:
[2024-07-28 07:37:44] production.ERROR: Class “Spatie\LaravelData\LaravelDataServiceProvider” not found {“exception”:"[object] (Error(code: 0): Class "Spatie\LaravelData\LaravelDataServiceProvider" not found at /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:206)
[stacktrace]
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(142): Illuminate\Foundation\ProviderRepository->createProvider()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(61): Illuminate\Foundation\ProviderRepository->compileManifest()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(843): Illuminate\Foundation\ProviderRepository->load()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(37): Illuminate\Foundation\Application->registerConfiguredProviders()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(316): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(186): Illuminate\Foundation\Application->bootstrapWith()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\Foundation\Http\Kernel->bootstrap()
#7 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#8 /InvoiceNinjaRoot/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle()
#9 {main}
"}
Here’s the laravel log that just spews out without me doing anything every minute or so (probably a cron):
[2024-07-28 07:39:02] production.ERROR: Class “Spatie\LaravelData\LaravelDataServiceProvider” not found {“exception”:"[object] (Error(code: 0): Class "Spatie\LaravelData\LaravelDataServiceProvider" not found at /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:206)
[stacktrace]
#0 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(142): Illuminate\Foundation\ProviderRepository->createProvider()
#1 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(61): Illuminate\Foundation\ProviderRepository->compileManifest()
#2 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(843): Illuminate\Foundation\ProviderRepository->load()
#3 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(37): Illuminate\Foundation\Application->registerConfiguredProviders()
#4 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(316): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
#5 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(470): Illuminate\Foundation\Application->bootstrapWith()
#6 /InvoiceNinjaRoot/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(194): Illuminate\Foundation\Console\Kernel->bootstrap()
#7 /InvoiceNinjaRoot/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#8 {main}
"}