V4.5.40: invoice error

Hey there
I’m still using v4 on production.
After updating from v4.5.34 to v4.5.40 I get this error when opening invoices:

[2021-06-15 14:10:56] production.ERROR: ***ErrorException*** [0] : /home/sites/a/b/folder/public_html/invoiceninja/app/Models/Traits/Inviteable.php [Line 77] => implode(): Passing glue string after array is deprecated. Swap the parameters {"context":"PHP","user_id":1,"account_id":1,"user_name":"My Name","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.9.334.710 Safari/537.36","locale":"en","ip":"my_ip","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"invoices/15/edit"} []

Any idea what’s wrong?

Thanks and best

Hi,

Downgrading from PHP 7.4 to 7.3 should resolve the error.

1 Like