[ADMINOBJECT] Blank page and php error returned by system in the web server logs #8

Closed
opened 2020-12-08 03:44:21 +01:00 by Ghost · 3 comments

When we try to instantiate a new coordination object as community admin, the page goes blank and an error is generated in the web server logs :

PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function CoordinationObj::configurePrint(), 4 passed in /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php on line 624 and exactly 5 expected in /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php:498\nStack trace:\n#0 /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php(624): CoordinationObj->configurePrint()\n#1 /home/rooty/Documents/Qware_core/lib/object_coordination/adminobject/adminobject.php(528): CoordinationObj->__createObject()\n#2 /home/rooty/Documents/Qware_core/lib/system/system_control/systemcontrol.php(495): AdminObject->createNewObjectAdmin()\n#3 /home/rooty/Documents/Qware_core/lib/system/system_control/systemcontrol.php(282): SystemControl->__exec()\n#4 /home/rooty/Documents/Qware_core/index.php(76): SystemControl->execute()\n#5 {main}\n  thrown in /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php on line 498, referer: https://master.fab-l3.org/administrateur-103-gaerer_les_outils-addObjectAdmin-36.htm?abs=1&param=&ListNode=101&optList=0
When we try to instantiate a new coordination object as community admin, the page goes blank and an error is generated in the web server logs : ``` PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function CoordinationObj::configurePrint(), 4 passed in /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php on line 624 and exactly 5 expected in /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php:498\nStack trace:\n#0 /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php(624): CoordinationObj->configurePrint()\n#1 /home/rooty/Documents/Qware_core/lib/object_coordination/adminobject/adminobject.php(528): CoordinationObj->__createObject()\n#2 /home/rooty/Documents/Qware_core/lib/system/system_control/systemcontrol.php(495): AdminObject->createNewObjectAdmin()\n#3 /home/rooty/Documents/Qware_core/lib/system/system_control/systemcontrol.php(282): SystemControl->__exec()\n#4 /home/rooty/Documents/Qware_core/index.php(76): SystemControl->execute()\n#5 {main}\n thrown in /home/rooty/Documents/Qware_core/lib/system/system_coordination/coordinationobj.php on line 498, referer: https://master.fab-l3.org/administrateur-103-gaerer_les_outils-addObjectAdmin-36.htm?abs=1&param=&ListNode=101&optList=0 ```
Ghost added the
bug
master
labels 2020-12-08 03:44:21 +01:00
Author

As explained in the log, the number of argument passed to the function is incorrect. Passed4 while it needs 5.

As explained in the log, the number of argument passed to the function is incorrect. Passed4 while it needs 5.
Author

Issue is fixed. Configuration form of the add coordination object appears.

Issue is fixed. Configuration form of the add coordination object appears.
Ghost added the
fixed
label 2020-12-08 03:49:03 +01:00
Author

Pushed to master.

Pushed to master.
Ghost closed this issue 2020-12-08 03:50:39 +01:00
Sign in to join this conversation.
No description provided.