I Cannot Send Invoice To My Email

0

Here is the detail

Question Resolved For: Simple Invoice Manager - Invoicing Made Easy 0 Votes 4 Answers 115 Views
Asked by Umer 1 month ago

0

Answered by Mian Saleem 1 month ago

Hello,

Please make sure that you have correct mail settings and check server error logs for any errors.

You can check Laravel logs in the storage/logs/ folder too.

Thank you

0

Answered by Umer 1 month ago

Email credentials are ok and i have login directly on site with same credentials and email is logging fine. Do not where is the issue exactly, i can't test the email from the app. Is there option for it to test it from dashboard?

Current Log stats;

[2024-09-04 15:21:06] production.ERROR: Call to a member function toDateString() on string {"userId":1,"exception":"[object] (Error(code: 0): Call to a member function toDateString() on string at /home/u896290641/domains/nextwaretech.co/public_html/invoice/app/Notifications/InvoiceDue.php:31)
[stacktrace]
#0 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Notifications/Channels/MailChannel.php(55): App\Notifications\InvoiceDue->toMail()
#1 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(148): Illuminate\Notifications\Channels\MailChannel->send()
#2 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(106): Illuminate\Notifications\NotificationSender->sendToNotifiable()
#3 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php(19): Illuminate\Notifications\NotificationSender->Illuminate\Notifications\{closure}()
#4 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(101): Illuminate\Notifications\NotificationSender->withLocale()
#5 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(79): Illuminate\Notifications\NotificationSender->sendNow()
#6 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Notifications/ChannelManager.php(39): Illuminate\Notifications\NotificationSender->send()
#7 /home/u896290641/domains/nextwaretech.co/public_html/invoice/app/Helpers/Notifiable.php(15): Illuminate\Notifications\ChannelManager->send()
#8 /home/u896290641/domains/nextwaretech.co/public_html/invoice/app/Http/Controllers/NotificationController.php(47): App\Models\Customer->notify()
#9 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\NotificationController->invoiceNotification()
#10 /home/u896290641/domains/nextwaretech.co/public_html/invoice/app/Traits/Authorizable.php(44): Illuminate\Routing\Controller->callAction()
#11 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): App\Http\Controllers\Controller->callAction()
#12 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()
#13 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Route.php(206): Illuminate\Routing\Route->runController()
#14 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Router.php(806): Illuminate\Routing\Route->run()
#15 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#16 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#17 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Auth\Middleware\EnsureEmailIsVerified->handle()
#18 /home/u896290641/domains/nextwaretech.co/public_html/invoice/app/Http/Middleware/Language.php(22): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#19 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\Language->handle()
#20 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/tecdiary/installer/src/Http/Middleware/RedirectIfNotInstalled.php(15): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#21 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Tecdiary\Installer\Http\Middleware\RedirectIfNotInstalled->handle()
#22 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Http/Middleware/AddLinkHeadersForPreloadedAssets.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets->handle()
#24 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/inertiajs/inertia-laravel/src/Middleware.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#25 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Inertia\Middleware->handle()
#26 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/jetstream/src/Http/Middleware/ShareInertiaData.php(69): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#27 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Laravel\Jetstream\Http\Middleware\ShareInertiaData->handle()
#28 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#30 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#31 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Session\Middleware\AuthenticateSession->handle()
#32 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(64): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#33 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Auth\Middleware\Authenticate->handle()
#34 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#35 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#36 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#37 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#38 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#39 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#40 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Session\Middleware\StartSession->handle()
#41 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#43 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#44 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#45 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#46 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\Pipeline\Pipeline->then()
#47 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\Routing\Router->runRouteWithinStack()
#48 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\Routing\Router->runRoute()
#49 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\Routing\Router->dispatchToRoute()
#50 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch()
#51 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#52 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#53 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#54 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#55 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#56 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#57 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#58 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#59 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\ValidatePostSize->handle()
#60 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#61 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#62 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#63 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\HandleCors->handle()
#64 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#65 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\TrustProxies->handle()
#66 /home/u896290641/domains/nextwaretech.co/public_html/invoice/app/Http/Middleware/Language.php(22): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#67 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\Language->handle()
#68 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#69 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then()
#70 /home/u896290641/domains/nextwaretech.co/public_html/invoice/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#71 /home/u896290641/domains/nextwaretech.co/public_html/invoice/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle()
#72 {main}
"}

0

Answered by Mian Saleem 1 month ago

Hello,

I have fixed this and release update. Please download file again and perform update.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.