Invalid Argument Exception?

I’m confused as to what I did.

Here is the Laravel Log.

[2018-11-08 08:59:10] production.ERROR: ***InvalidArgumentException*** [0] : /home2/tristat1/public_html/portal/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php [Line 137] => View [dashboard] not found.  {"context":"PHP","user_id":1,"account_id":1,"user_name":"Drew Adkins","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","locale":"en","ip":"65.24.167.127","count":10,"is_console":"no","is_api":"no","db_server":"mysql","url":"dashboard"} []
[2018-11-08 09:00:44] production.ERROR: ***InvalidArgumentException*** [0] : /home2/tristat1/public_html/portal/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php [Line 137] => View [dashboard] not found.  {"context":"PHP","user_id":1,"account_id":1,"user_name":"Drew Adkins","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","locale":"en","ip":"65.24.167.127","count":11,"is_console":"no","is_api":"no","db_server":"mysql","url":"dashboard"} []
[2018-11-08 09:05:03] production.ERROR: ***InvalidArgumentException*** [0] : /home2/tristat1/public_html/portal/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php [Line 137] => View [dashboard] not found.  {"context":"PHP","user_id":1,"account_id":1,"user_name":"Drew Adkins","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","locale":"en","ip":"65.24.167.127","count":12,"is_console":"no","is_api":"no","db_server":"mysql","url":"dashboard"} []
[2018-11-08 13:00:11] production.ERROR: ***InvalidArgumentException*** [0] : /home2/tristat1/public_html/portal/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php [Line 137] => View [dashboard] not found.  {"context":"PHP","user_id":1,"account_id":1,"user_name":"Drew Adkins","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","locale":"en","ip":"65.24.167.127","count":13,"is_console":"no","is_api":"no","db_server":"mysql","url":"dashboard"} []
[2018-11-08 13:00:11] production.ERROR: ***InvalidArgumentException*** [0] : /home2/tristat1/public_html/portal/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php [Line 137] => View [dashboard] not found.  {"context":"PHP","user_id":1,"account_id":1,"user_name":"Drew Adkins","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","locale":"en","ip":"65.24.167.127","count":13,"is_console":"no","is_api":"no","db_server":"mysql","url":"dashboard"} []

Here is a copy of the page: (1/1) InvalidArgumentException
View [dashboard] not found.

in FileViewFinder.php (line 137)
at FileViewFinder->findInPaths(‘dashboard’, array(false))
in FileViewFinder.php (line 79)
at FileViewFinder->find(‘dashboard’)
in Factory.php (line 128)
at Factory->make(‘dashboard’, array(‘account’ => object(Account), ‘user’ => object(User), ‘paidToDate’ => object(Collection), ‘balances’ => object(Collection), ‘averageInvoice’ => object(Collection), ‘invoicesSent’ => ‘9’, ‘activeClients’ => 1, ‘activities’ => object(Collection), ‘pastDue’ => object(Collection), ‘upcoming’ => object(Collection), ‘payments’ => object(Collection), ‘title’ => ‘texts.dashboard’, ‘hasQuotes’ => false, ‘showBreadcrumbs’ => false, ‘currencies’ => array(‘USD’), ‘expenses’ => object(Collection), ‘tasks’ => object(Collection), ‘showBlueVinePromo’ => false, ‘showWhiteLabelExpired’ => false, ‘showExpenses’ => false, ‘headerClass’ => ‘in-thin’, ‘footerClass’ => ‘in-thin’))
in Facade.php (line 221)
at Facade::__callStatic(‘make’, array(‘dashboard’, array(‘account’ => object(Account), ‘user’ => object(User), ‘paidToDate’ => object(Collection), ‘balances’ => object(Collection), ‘averageInvoice’ => object(Collection), ‘invoicesSent’ => ‘9’, ‘activeClients’ => 1, ‘activities’ => object(Collection), ‘pastDue’ => object(Collection), ‘upcoming’ => object(Collection), ‘payments’ => object(Collection), ‘title’ => ‘texts.dashboard’, ‘hasQuotes’ => false, ‘showBreadcrumbs’ => false, ‘currencies’ => array(‘USD’), ‘expenses’ => object(Collection), ‘tasks’ => object(Collection), ‘showBlueVinePromo’ => false, ‘showWhiteLabelExpired’ => false, ‘showExpenses’ => false, ‘headerClass’ => ‘in-thin’, ‘footerClass’ => ‘in-thin’)))
in DashboardController.php (line 111)
at DashboardController->index()
at call_user_func_array(array(object(DashboardController), ‘index’), array())
in Controller.php (line 55)
at Controller->callAction(‘index’, array())
in ControllerDispatcher.php (line 44)
at ControllerDispatcher->dispatch(object(Route), object(DashboardController), ‘index’)
in Route.php (line 203)
at Route->runController()
in Route.php (line 160)
at Route->run()
in Router.php (line 572)
at Router->Illuminate\Routing{closure}(object(Request))
in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in Authenticate.php (line 122)
at Authenticate->handle(object(Request), object(Closure), ‘user’)
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in DatabaseLookup.php (line 21)
at DatabaseLookup->handle(object(Request), object(Closure), ‘user’)
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in StartupCheck.php (line 241)
at StartupCheck->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in QueryLogging.php (line 32)
at QueryLogging->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in DuplicateSubmissionCheck.php (line 41)
at DuplicateSubmissionCheck->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in TransformsRequest.php (line 30)
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in VerifyCsrfToken.php (line 65)
at VerifyCsrfToken->handle(object(Request), object(Closure))
in VerifyCsrfToken.php (line 44)
at VerifyCsrfToken->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in ShareErrorsFromSession.php (line 49)
at ShareErrorsFromSession->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in StartSession.php (line 64)
at StartSession->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in AddQueuedCookiesToResponse.php (line 37)
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in EncryptCookies.php (line 59)
at EncryptCookies->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in Pipeline.php (line 102)
at Pipeline->then(object(Closure))
in Router.php (line 574)
at Router->runRouteWithinStack(object(Route), object(Request))
in Router.php (line 533)
at Router->dispatchToRoute(object(Request))
in Router.php (line 511)
at Router->dispatch(object(Request))
in Kernel.php (line 176)
at Kernel->Illuminate\Foundation\Http{closure}(object(Request))
in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in Debugbar.php (line 51)
at Debugbar->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in CheckForMaintenanceMode.php (line 46)
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in HandlePreflight.php (line 46)
at HandlePreflight->handle(object(Request), object(Closure))
in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))
in Pipeline.php (line 102)
at Pipeline->then(object(Closure))
in Kernel.php (line 151)
at Kernel->sendRequestThroughRouter(object(Request))
in Kernel.php (line 116)
at Kernel->handle(object(Request))
in index.php (line 51)

The URL is tristatewebsolutions.com/portal/public/dashboard if anyone wants to see for theirself.

Not sure, is it a clean install without any changes?

Yes, I’ve been using InvoiceNinja for almost 6 months now with no problems.

Did anything change to cause the problem?

I believe I was messing around in the files trying to find a bug to something else and messed something up, when I reverted it back to a backup, it did the same thing. If possible, is there a way I can re-install without losing all of my data?

You can copy over the application files.

It shouldn’t affect the data but you may want to backup your database and .env file.