OJS 3.2, delete issues

Hello,
When deleting the issue, nothing happens and I have the following php errors:

[Sat May 02 15:00:51.419646 2020] [php7:error] [pid 3241] [client XXXXXX:56112] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function PKP\Services\PKPPublicationService::edit(), 2 passed in /home/user/public_html/ojs/classes/controllers/grid/issues/IssueGridHandler.inc.php on line 318 and exactly 3 expected in /home/user/public_html/ojs/lib/pkp/classes/services/PKPPublicationService.inc.php:498\nStack trace:\n#0 /home/user/public_html/ojs/classes/controllers/grid/issues/IssueGridHandler.inc.php(318): PKP\Services\PKPPublicationService->edit(Object(Publication), Array)\n#1 /home/user/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(391): IssueGridHandler->deleteIssue(Array, Object(Request))\n#2 /home/user/public_html/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)\n#3 /home/user/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPComponentRouter->route(Object(Request))\n#4 /home/user/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(278): Dispatcher->dispatch(Object(Re in /home/user/public_html/ojs/lib/pkp/classes/services/PKPPublicationService.inc.php on line 498, referer: https://www.domain.com/index.php/test/manageIssues

OJS 3.2.0.3
Do you have any ideas ?

Regards, K

Hi @krzysztof,

I’ve filed and fixed this here: Fatal error deleting issue · Issue #5814 · pkp/pkp-lib · GitHub
You can either apply either of the patches there yourself (they are equivalent, just applied to different branches), or wait for the next release.

Thanks for reporting!

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you, problem solved.

Regards, K

1 Like