i have found a problem in my ininja.
The error message is:
[2025-02-16 18:06:13] production.ERROR: Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #5 ($port) must be of type ?int, string given, called in /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 200 {“userId”:1,“exception”:"[object] (TypeError(code: 0): Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #5 ($port) must be of type ?int, string given, called in /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 200 at /var/www/invoiceninja/vendor/symfony/mailer/Transport/Dsn.php:28)
This is a new selfhosted environment and i cant see the logo in the invoice.
I cant create new users or manage my user to update the index.
Do you have any sugestions?
Best regards Dieter
To configure the mail is a step for later, first i have to setup invoice design and all the things to write invoices.
Do you have any hint how to display the logo into the invoice?
I have read all messeges in the v5 Selfhost but until now i havnt luck with this.
I suggest checking the network tab in the browser console to look for the failed logo request. It may help to add /public to the end of the APP_URL and then re-upload the logo.
Hi Hillel,
ive testet all your hints, and evrithin in the Forum, but nothing works.
No information in the log (larvalel.log and Nginx with debug mode) also after set the .env to debug there is no information about the missing logo. The file format is an png file with roundn about 35kb and 1281x272 Pixel.
Couldnt find a way to make it display/printing.
Until manny tries and poking arround there is a change.
I have deletet and reapplyed the logo to the application and now i get the errormessage:
“In ComponentTagCompiler.php line 316: Unable to locate a class or view for component [laravel-exceptions-renderer::card].” within the process “sudo -u www-data php artisan optimize”
and in /var/www/invoiceninja/storage/logs/laravel.log
[2025-02-17 15:19:08] production.ERROR: Unable to locate a class or view for component [laravel-exceptions-renderer::card]. {“exception”:"[object] (InvalidArgumentException(code:
0): Unable to locate a class or view for component [laravel-exceptions-renderer::card]. at /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/View/Compilers/ComponentTagCompiler.php:316)