FLYAX
August 31, 2022, 12:25am
1
I set up invoice ninja and now I’m at a login screen. I tried logging in with the information I created with my admin accound but I’m getting this error:
Error :: '[id, VolejRejNm, name, Plain, is_custom, false, is_active, true, design, , up...' to 'minified:e_' failed due to: Deserializing '' to 'minified:M<String, String>' failed due to: TypeError: "": type 'minified:BM' is not a subtype of type 'minified:I<minified:av?>'
hillel
August 31, 2022, 5:19am
2
Hi,
The error seems to be related to a custom invoice design, is it a new account or did you migrate from v4?
@david any thought?
david
August 31, 2022, 9:28am
3
I haven’t seen this one before. i would check to make sure there isn’t an API error following this in storage/logs/laravel.log
FLYAX
August 31, 2022, 1:43pm
4
Its a new account. I’ve set it up yesterday
FLYAX
August 31, 2022, 1:46pm
5
This is the whole laravel log:
[2022-08-30 22:27:27] production.ERROR: Class "DOMDocument" not found {"exception":"[object] (Error(code: 0): Class \"DOMDocument\" not found at /var/www/invoiceninja/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php:95)
[stacktrace]
#0 /var/www/invoiceninja/database/seeders/DesignSeeder.php(52): App\\Services\\PdfMaker\\Design->document()
#1 /var/www/invoiceninja/database/seeders/DesignSeeder.php(24): Database\\Seeders\\DesignSeeder->createDesigns()
#2 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Database\\Seeders\\DesignSeeder->run()
#3 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#4 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#5 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#6 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#7 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(149): Illuminate\\Container\\Container->call()
#8 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(49): Illuminate\\Database\\Seeder->__invoke()
#9 /var/www/invoiceninja/database/seeders/DatabaseSeeder.php(37): Illuminate\\Database\\Seeder->call()
#10 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Database\\Seeders\\DatabaseSeeder->run()
#11 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#13 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#14 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#15 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(149): Illuminate\\Container\\Container->call()
#16 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(66): Illuminate\\Database\\Seeder->__invoke()
#17 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php(151): Illuminate\\Database\\Console\\Seeds\\SeedCommand->Illuminate\\Database\\Console\\Seeds\\{closure}()
#18 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(67): Illuminate\\Database\\Eloquent\\Model::unguarded()
#19 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Seeds\\SeedCommand->handle()
#20 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#21 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#22 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#23 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#24 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\\Container\\Container->call()
#25 /var/www/invoiceninja/vendor/symfony/console/Command/Command.php(298): Illuminate\\Console\\Command->execute()
#26 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#27 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Concerns/CallsCommands.php(68): Illuminate\\Console\\Command->run()
#28 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Concerns/CallsCommands.php(28): Illuminate\\Console\\Command->runCommand()
#29 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/FreshCommand.php(90): Illuminate\\Console\\Command->call()
#30 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/FreshCommand.php(65): Illuminate\\Database\\Console\\Migrations\\FreshCommand->runSeeder()
#31 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\FreshCommand->handle()
#32 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#33 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#34 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#35 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#36 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\\Container\\Container->call()
#37 /var/www/invoiceninja/vendor/symfony/console/Command/Command.php(298): Illuminate\\Console\\Command->execute()
#38 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#39 /var/www/invoiceninja/vendor/symfony/console/Application.php(1024): Illuminate\\Console\\Command->run()
#40 /var/www/invoiceninja/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand()
#41 /var/www/invoiceninja/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#42 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\\Component\\Console\\Application->run()
#43 /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()
#44 /var/www/invoiceninja/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#45 {main}
"}
FLYAX
August 31, 2022, 6:27pm
6
I used that source
InvoiceNinja is an open-source, self-hosted invoice software, a low-cost alternative to commercial online invoice platforms such as Freshbooks. Learn how to install InvoiceNinja on Ubuntu 20.04
Est. reading time: 10 minutes
I dont know maybe it helps
david
August 31, 2022, 10:02pm
7
DOMDocument is called from the native PHP extension, if the app cannot find this extension installed it means it is missing from your system.