Home Forums Support 500 error on "View Statement"

This topic contains 2 replies, has 2 voices, and was last updated by  Hillel Coren 1 year ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #20700


    Embedded Invoices work fine, but I just noticed my clients are getting 500 errors on their “Statement” views.

    Example URL MYURL/statement?status_id=false&start_date=2018-11-10&end_date=2019-05-10&show_payments=&show_aging=&json=true

    Where should I be looking to figure out what’s happening?

    Edit: This is the error from laravel.log: [2019-05-10 18:31:35] production.ERROR: ***ErrorException*** [0] : /home/****/public_html/****/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php [Line 1229] => compact(): Undefined variable: operator {"context":"PHP","user_id":1,"account_id":1,"user_name":"Mike Jandreau","method":"GET","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36","locale":"en","ip":"","count":8,"is_console":"no","is_api":"no","db_server":"mysql","url":"client/statement"} []



    Found an old forum post about it. It’s because Invoice Ninja doesn’t support PHP 7.3 (yet).

    I downgraded the subdomain it runs on to PHP 7.2 and all is well.


    Hillel Coren

    Happy to hear it’s working, thanks for sharing the solution!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Posted in: