Whoops, looks like something went wrong - When creating and invoice

I updated to Ninja Invoice 4.2.2 & PHP 7.1.16-1+ubuntu16.04.1+deb.sury.org+1
I have clear the cache restart apache
Not sure what to do from here.

tail -f /var/www/invoices/storage/logs/laravel-error.log
[2018-04-06 17:31:22] production.ERROR: ErrorException [0] : /var/www/invoices/app/Models/GatewayType.php [Line 29] => Trying to get property of non-object (View: /var/www/invoices/resources/views/partials/email_templates.blade.php) (View: /var/www/invoices/resources/views/partials/email_templates.blade.php) {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Jeff Cook”,“method”:“GET”,“url”:“https://invoices.5xdata.com/invoices/create",“previous”:“https://invoices.5xdata.com/invoices/create”,“user_agent”:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17133”,“ip”:“50.192.115.161”,“count”:3,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”} []

I am able to get to login screen and to the dashboard, it seemed to only be when clicking on New and Edit invoice.

Which version did you upgrade from?

Have you tried loading /update?clear_cache=true

I Think 3.2 something

Not sure what all that did but that seemed to work.

Thanks