Installing on Shared Hosting - Always a bugger

Very new here, switching from Square after they terminated my account. (but that’s another story)

Installed through Softaculous, as a lot of others here with issues did. I’ve done a fair bit of troubleshooting trying to get it to work, but still coming up short. I saved my invoice, and it saved but only once. When trying to modify it, it just simply throws me to Error 500. Generating PDFs are the same error. I setup PhantomJSCloud and input my cloud API key into the .env file as I suspected the issue to be something with this. It wasn’t, still having the same error. Sensitive info in the pastes below have been altered for obvious reasons and links are broken with a backslash. Thanks for the help!

.env file:

APP_NAME=“Invoice Ninja”
APP_ENV=production
APP_KEY=base64:i2Ftnl2eFTNMqnedbMVapWyGiWhRxaZjbd6W0QebjGq=
APP_DEBUG=false

APP_URL=https://invoicing.yeahthisistotallyawebsite.com/public

DB_CONNECTION=db-ninja-01
MULTI_DB_ENABLED=false

DISABLE_AUTO_UPDATE=true

DB_HOST1=localhost
DB_DATABASE1=n8whe4jekahtn3i
DB_USERNAME1=n8whe4jekahtn3i
DB_PASSWORD1=311Spz9)!T
DB_PORT1=3306

DB_HOST2=localhost
DB_DATABASE2=ninja2
DB_USERNAME2=ninja
DB_PASSWORD2=ninja
DB_PORT2=3306

DEMO_MODE=false

BROADCAST_DRIVER=log
LOG_CHANNEL=stack
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=log
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME=

POSTMARK_API_TOKEN=
REQUIRE_HTTPS=true

GOOGLE_MAPS_API_KEY=
ERROR_EMAIL=
TRUSTED_PROXIES=

NINJA_ENVIRONMENT=selfhost

#options - snappdf / phantom / hosted_ninja
PDF_GENERATOR=phantom

PHANTOMJS_KEY=‘a3tc-9nc—vpw7kd3zdqcdwp-war57e’
PHANTOMJS_SECRET=secret

UPDATE_SECRET=katlog

COMPOSER_AUTH=’{“github-oauth”: {“github.com”: “${{ secrets.GITHUB_TOKEN }}”}}’
SENTRY_LARAVEL_DSN=https://c0ecb6ed8b9724457283e139678ce60a@sentry.invoicing.co/5


Stacktrace after generate PDF:

[2021-07-01 06:44:20] production.INFO: https://invoicing.yeahthisistotallyawebsite.com/public/phantom/invoice/kOHDANGDx6J8c1XXhl5EuZXuOwOhWkK3g7tXv7B1VOdfFk0iZHFlolYF9C70yGY?phantomjs_secret=secret
[2021-07-01 06:44:23] production.ERROR: Class ‘finfo’ not found {“userId”:1,“exception”:"[object] (Error(code: 0): Class ‘finfo’ not found at /home/khweathe/public_html/invoicing/app/Utils/PhantomJS/Phantom.php:122)
[stacktrace]
#0 /home/khweathe/public_html/invoicing/app/Utils/PhantomJS/Phantom.php(91): App\Utils\PhantomJS\Phantom->checkMime(’%PDF-1.4
%\xD3\xEB\xE9\xE1
…’, Object(App\Models\InvoiceInvitation), ‘invoice’)
#1 /home/khweathe/public_html/invoicing/app/Jobs/Entity/CreateEntityPdf.php(112): App\Utils\PhantomJS\Phantom->generate(Object(App\Models\InvoiceInvitation))
#2 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\Entity\CreateEntityPdf->handle()
#3 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#5 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#6 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/Container.php(614): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#7 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call(Array)
#8 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(App\Jobs\Entity\CreateEntityPdf))
#9 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(App\Jobs\Entity\CreateEntityPdf))
#10 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#11 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow(Object(App\Jobs\Entity\CreateEntityPdf), false)
#12 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}(Object(App\Jobs\Entity\CreateEntityPdf))
#13 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(App\Jobs\Entity\CreateEntityPdf))
#14 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#15 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\SyncJob), Object(App\Jobs\Entity\CreateEntityPdf))
#16 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\SyncJob), Array)
#17 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#18 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(253): Illuminate\Queue\SyncQueue->push(Object(App\Jobs\Entity\CreateEntityPdf))
#19 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(229): Illuminate\Bus\Dispatcher->pushCommandToQueue(Object(Illuminate\Queue\SyncQueue), Object(App\Jobs\Entity\CreateEntityPdf))
#20 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(77): Illuminate\Bus\Dispatcher->dispatchToQueue(Object(App\Jobs\Entity\CreateEntityPdf))
#21 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php(202): Illuminate\Bus\Dispatcher->dispatch(Object(App\Jobs\Entity\CreateEntityPdf))
#22 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Bus/Dispatchable.php(17): Illuminate\Foundation\Bus\PendingDispatch->__destruct()
#23 /home/khweathe/public_html/invoicing/app/Listeners/Invoice/CreateInvoicePdf.php(42): App\Jobs\Entity\CreateEntityPdf::dispatch(Object(App\Models\InvoiceInvitation))
#24 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(234): App\Listeners\Invoice\CreateInvoicePdf->App\Listeners\Invoice\{closure}(Object(App\Models\InvoiceInvitation), 0)
#25 /home/khweathe/public_html/invoicing/app/Listeners/Invoice/CreateInvoicePdf.php(43): Illuminate\Support\Collection->each(Object(Closure))
#26 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Events/CallQueuedListener.php(107): App\Listeners\Invoice\CreateInvoicePdf->handle(Object(App\Events\Invoice\InvoiceWasUpdated))
#27 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Events\CallQueuedListener->handle(Object(Illuminate\Foundation\Application))
#28 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#29 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#30 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#31 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Container/Container.php(614): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#32 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call(Array)
#33 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(Illuminate\Events\CallQueuedListener))
#34 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Events\CallQueuedListener))
#35 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#36 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow(Object(Illuminate\Events\CallQueuedListener), false)
#37 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}(Object(Illuminate\Events\CallQueuedListener))
#38 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Events\CallQueuedListener))
#39 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#40 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\SyncJob), Object(Illuminate\Events\CallQueuedListener))
#41 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\SyncJob), Array)
#42 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#43 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Queue/Queue.php(57): Illuminate\Queue\SyncQueue->push(Object(Illuminate\Events\CallQueuedListener), ‘’, NULL)
#44 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(562): Illuminate\Queue\Queue->pushOn(NULL, Object(Illuminate\Events\CallQueuedListener))
#45 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(486): Illuminate\Events\Dispatcher->queueHandler(‘App\\Listeners\\I…’, ‘handle’, Array)
#46 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(412): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}(Object(App\Events\Invoice\InvoiceWasUpdated))
#47 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(237): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}(‘App\\Events\\Invo…’, Array)
#48 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(450): Illuminate\Events\Dispatcher->dispatch(‘App\\Events\\Invo…’)
#49 /home/khweathe/public_html/invoicing/app/Http/Controllers/InvoiceController.php(402): event(Object(App\Events\Invoice\InvoiceWasUpdated))
#50 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\InvoiceController->update(Object(App\Http\Requests\Invoice\UpdateInvoiceRequest), Object(App\Models\Invoice))
#51 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction(‘update’, Array)
#52 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Route.php(254): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\InvoiceController), ‘update’)
#53 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Route.php(197): Illuminate\Routing\Route->runController()
#54 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\Routing\Route->run()
#55 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#56 /home/khweathe/public_html/invoicing/app/Http/Middleware/QueryLogging.php(40): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#57 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\QueryLogging->handle(Object(Illuminate\Http\Request), Object(Closure))
#58 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#59 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#60 /home/khweathe/public_html/invoicing/app/Http/Middleware/Locale.php(34): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#61 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Locale->handle(Object(Illuminate\Http\Request), Object(Closure))
#62 /home/khweathe/public_html/invoicing/app/Http/Middleware/TokenAuth.php(80): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#63 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\TokenAuth->handle(Object(Illuminate\Http\Request), Object(Closure))
#64 /home/khweathe/public_html/invoicing/app/Http/Middleware/SetDb.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#65 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SetDb->handle(Object(Illuminate\Http\Request), Object(Closure))
#66 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(127): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#67 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(63): Illuminate\Routing\Middleware\ThrottleRequests->handleRequest(Object(Illuminate\Http\Request), Object(Closure), Array)
#68 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\ThrottleRequests->handle(Object(Illuminate\Http\Request), Object(Closure), ‘300’, ‘1’)
#69 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#70 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#71 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#72 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#73 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#74 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#75 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#76 /home/khweathe/public_html/invoicing/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php(55): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#77 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestIpMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#78 /home/khweathe/public_html/invoicing/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php(52): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#79 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#80 /home/khweathe/public_html/invoicing/app/Http/Middleware/Cors.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#81 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Cors->handle(Object(Illuminate\Http\Request), Object(Closure))
#82 /home/khweathe/public_html/invoicing/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#83 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#84 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#85 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#86 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#87 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#88 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#89 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#90 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#91 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#92 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#93 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#94 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#95 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#96 /home/khweathe/public_html/invoicing/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#97 /home/khweathe/public_html/invoicing/public/index.php(57): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#98 {main}
"}

finfo() is missing - you need the fileinfo php extension.