Hello,
I operate a self hosted white labeled instance of Invoice Ninja version 4.5.6. I am experiencing something strange with my Android app. It connects to my site fine and I can look up clients and contact information along with some other information but the first 2 widgets are always loading (see link 1) and if I try to view an invoice i get the red error screen seen in link 2.
link 1: https://imgur.com/TL7NQUh
link 2: https://imgur.com/a/wcepd5I
The last couple of entries on my laravel-error log are are follows. IPs and names ReDaCtEd.
object {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“ReDaCtEd”,“method”:“GET”,“user_agent”:“Dart/2.1 (dart:io)”,“locale”:“en”,“ip”:“ReDaCtEd”,“count”:1,“is_console”:“no”,“is_api”:“yes”,“db_server”:“mysql”,“url”:“api/v1/invoices”} []
[2018-12-11 14:33:01] production.ERROR: ErrorException [0] : /home4/ReDaCtEd/public_html/inv/app/Ninja/Transformers/InvoiceTransformer.php [Line 93] => Trying to get property of non-object {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“ReDaCtEd”,“method”:“GET”,“user_agent”:“Dart/2.1 (dart:io)”,“locale”:“en”,“ip”:“ReDaCtEd”,“count”:1,“is_console”:“no”,“is_api”:“yes”,“db_server”:“mysql”,“url”:“api/v1/invoices”} []
[2018-12-11 18:11:57] production.ERROR: ErrorException [0] : /home4/ReDaCtEd/public_html/inv/app/Ninja/Transformers/InvoiceTransformer.php [Line 93] => Trying to get property of non-object {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“ReDaCtEd”,“method”:“GET”,“user_agent”:“Dart/2.1 (dart:io)”,“locale”:“en”,“ip”:“ReDaCtEd”,“count”:1,“is_console”:“no”,“is_api”:“yes”,“db_server”:“mysql”,“url”:“api/v1/invoices”} []
[2018-12-11 18:12:16] production.ERROR: ErrorException [0] : /home4/ReDaCtEd/public_html/inv/app/Ninja/Transformers/InvoiceTransformer.php [Line 93] => Trying to get property of non-object {“context”:“PHP”,“user_id”:1,“account_id”:“1”,“user_name”:“ReDaCtEd”,“method”:“GET”,“user_agent”:“Dart/2.1 (dart:io)”,“locale”:“en”,“ip”:“ReDaCtEd”,“count”:1,“is_console”:“no”,“is_api”:“yes”,“db_server”:“mysql”,“url”:“api/v1/invoices”} []