500 Error when trying to login | Issues after update

Hi,

I have updated my invoice ninja on shared server using Softacuolus. These are the issues I am facing, not sure if these are related;

  1. When I try to login this is the error I see

500: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘DB_NAME.bank_integrations’ doesn’t exist (SQL: select * from bank_integrations where bank_integrations.company_id in (1) and created_at >= 1970-01-01 00:00:00 and bank_integrations.deleted_at is null)

I did my study and everyone fixed the issue using php artisan migrate but it does not work for me and I get this error;

 INFO  Running migrations.

  2022_06_10_030503_set_account_flag_for_react ............................................................................... 1ms FAIL

In Input.php line 157:

  Call to undefined function Symfony\Component\Console\Input\escapeshellarg()

Anything that can resolve my issue?

PS. I have already updated PHP to 8.1

Hi,

I suggest checking with your webhost to see if escapeshellarg is disabled.

Thank you so much @hillel

I asked my host to enable escapeshell arg. Then I ran php artisan migrate, cleared the cache and it worked like a charm!

1 Like