Hi Guys,
I am having the Whoops, looks like something went wrong error when trying to edit an invoice:
I am using self hosted, have full root access.
After looking in the laravel-error.log here is what i got:
[2020-01-26 02:41:35] production.ERROR: ErrorException [0] : /var/www/vhosts/site_name.com/httpdocs/billing/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/79.0.3945.130 Safari/537.36”,“locale”:“en”,“ip”:“79.110.204.46”,“count”:6,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“invoices/233/edit”} []
Any Ideas?
Thanks, Jeffrey
david
January 28, 2020, 3:13pm
2
Which version of PHP are you using.
Hi, I am using PHP version 7.4.2
david
January 28, 2020, 3:17pm
4
Max PHP version is 7.3.x for this release.
After you asked about PHP version I changed it to 7.3.14 and now its working )))
Thanks much appreciated))
hillel
January 28, 2020, 6:09pm
6
Awesome, glad to hear it!
Hello there,
I’m “reopening” this thread because, even with the PHP 7.3x (here, PHP 7.3.21-1+0~20200807.66+debian9~1.gbp18a1c2) i have the same error with Ninja v4.5.19.
Should I downgrade the PHP version (< .21)?
Thanks
hillel
October 5, 2020, 9:25am
8
Can you check that both the CLI and web version are correct? You can use a phpinfo file to check the web version.
You’re right. There’s a difference between the CLI and the FPM (was 7.4). I just restart with the 7.3 version and it’s working now.
Thanks for the fast support.
1 Like