Version 5.13.19
Environment - Apache/MariaDB container with manual install
Checklist
- Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja? NO
- Have you searched existing issues? YES
- Have you inspected the logs in storage/logs/laravel.log for any errors? YES
Describe the bug
Attempted to use the webui to do an upgrade. App froze and didn’t return, I gave it some time and eventually rebooted the container.
500 ISE when attempting to login.
When running php artisan migrate:
INFO Running migrations.
2024_08_04_225558_tax_model_migration_v2 … 8.72ms FAIL
In TaxModel.php line 343:
Attempt to modify property “subregions” on null
Steps To Reproduce
Try to login or try to run php artisan migrate from command line.
Expected Behavior
Working service with no errors.
Additional context
none
Screenshots
none
Logs
[2026-04-24 15:48:25] production.ERROR: Call to undefined method Illuminate\Console\View\Components\Task::runTimeForHumans() {“userId”:1,“exception”:“[object] (Error(code: 0): Call to undefined method Illuminate\Console\View\Components\Task::runTimeForHumans() at /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php:46)
[previous exception] [object] (Error(code: 0): Call to undefined function Illuminate\Support\array_first() at /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Support/Fluent.php:306)
[2026-04-24 15:51:06] production.ERROR: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ninja.passkey_credentials’ doesn’t exist (Connection: mysql, Host: localhost, Port: 3306, Database: ninja, SQL: select * from passkey_credentials where passkey_credentials.user_id in (1)) {“exception”:”[object] (Illuminate\Database\QueryException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ninja.passkey_credentials’ doesn’t exist (Connection: mysql, Host: localhost, Port: 3306, Database: ninja, SQL: select * from passkey_credentials where passkey_credentials.user_id in (1)) at /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ninja.passkey_credentials’ doesn’t exist at /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Connection.php:420)
[2026-04-24 16:00:03] production.ERROR: Call to undefined function App\Jobs\Util\nrlog() {“exception”:“[object] (Error(code: 0): Call to undefined function App\Jobs\Util\nrlog() at /var/www/invoiceninja/app/Jobs/Util/ReminderJob.php:58)
[2026-04-24 16:38:03] production.ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘e_invoice_quota’ in ‘where clause’ (Connection: mysql, Host: localhost, Port: 3306, Database: ninja, SQL: select * from accounts where e_invoice_quota > 0 and exists (select * from companies where accounts.id = companies.account_id and legal_entity_id is not null)) {“exception”:”[object] (Illuminate\Database\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘e_invoice_quota’ in ‘where clause’ (Connection: mysql, Host: localhost, Port: 3306, Database: ninja, SQL: select * from accounts where e_invoice_quota > 0 and exists (select * from companies where accounts.id = companies.account_id and legal_entity_id is not null)) at /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838)
Those are some of the errors that are present in the log after the upgrade was attempted. They have stacktrace info under them that I can provide if needed.