I am trying to open my settings page on testlink but following error it shows on browser
Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in C:Apache24htdocstestlink-code-testlink_1_9_20_fixedlibfunctionsobject.class.php:600 Stack trace: #0 C:Apache24htdocstestlink-code-testlink_1_9_20_fixedlibfunctionsobject.class.php(576): tlDBObject::createObjectsFromDB(Object(database), NULL, ‘tlEvent’, true, 4294967295) #1 C:Apache24htdocstestlink-code-testlink_1_9_20_fixedlibfunctionslogger.class.php(679): tlDBObject::createObjectsFromDBbySQL(Object(database), ‘SELECT E.id FRO…’, ‘id’, ‘tlEvent’, true, 4294967295, 10) #2 C:Apache24htdocstestlink-code-testlink_1_9_20_fixedlibfunctionslogger.class.php(123): tlEventManager->getEventsFor(’16’, ‘1’, ‘users’, ‘(‘LOGIN_FAILED’…’, 10, NULL, NULL, NULL) #3 C:Apache24htdocstestlink-code-testlink_1_9_20_fixedlibusermanagementuserInfo.php(70): tlLogger->getAuditEventsFor(‘1’, ‘users’, ‘LOGIN_FAILED’, 10) #4 {main} thrown in C:Apache24htdocstestlink-code-testlink_1_9_20_fixedlibfunctionsobject.class.php on line 600
i am using testlink 1.9.20. web server is apache24 and php version is PHP 8.3.7
Login as admin to test link created some test cases and want to get testlink API key for automation purpose.
hassan lone is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.