LaravelModules Error on Update


I updated Invoice Ninja from 2.8.3 to 2.9.2 and now I get the error:

FatalErrorException in compiled.php line 7712:
Class ‘Nwidart\Modules\LaravelModulesServiceProvider’ not found

How can solve this?


Are you using the self host zip or the code from GitHub?

You may need to run composer install


yes, host it by myself and pulled from github.

Note: the self-host zip includes all third party libraries whereas downloading the code from GitHub requires using Composer to install the dependencies.

Thanks. Can I copy over the zip and backup the .env file?

That should work, or run composer install.

Thanks, solved.