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
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.
Thank you for replying and sorry for the late response.
This error is not a crash but rather a link not constructed properly when you have projects added.
When you add projects they are shown on the Dashboard; the issue is that the project link is incompletely created on Dashboard and if you click on a project will lead to this error. As I said above, the projectID is not added to the project link on Dashboard.