InvoicePlane 1.5.11

Hello,

I have a 1.5.11 installation which gives me the following error while opening /index.php/clients/view/


An uncaught Exception was encountered

Type: ArgumentCountError

Message: Too few arguments to function Clients::view(), 0 passed in /****/****/****/vendor/codeigniter/framework/system/core/CodeIgniter.php on line 532 and exactly 1 expected

Filename: /****/****/****/application/modules/clients/controllers/Clients.php

Line Number: 183

Backtrace:

File: /****/****/****/index.php
Line: 325
Function: require_once

PHP version: PHP 7.2.31-1
Server: nGINX

Thank you in advance!

I have found the issue: on Dashboard, under Projects, the link is generated as /index.php/clients/view/ which gives the above error; the correct link would be /index.php/clients/view/[$projectID] I guess …

Hi @NIIcK, where exactly do you get this error and when does it occur?

Yes

is most probably related to a missing ID which should get passed. But for me there are (so far) no errors.

#EDIT: ok know what you mean.
Yes /clients/view/ will throw an error. But it also never gets called somewhere.
Normaly /clients/index is getting called which redirects to /clients/status/active

I will put this bug on my watchlist.
Thanks for letting us know.