-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
url------>http://localhost/testlink1914/lib/api/rest/v2/testprojects/1/testplans
result--->null
500 Internal Server Error:
<title>Slim Application Error</title><style>body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{display:inline-block;width:65px;}</style>Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 8
Message: Undefined offset: 0
File: C:\app\xampp\htdocs\testlink1914\lib\api\rest\v2\tlRestApi.class.php
Line: 270
Trace
#0 C:\app\xampp\htdocs\testlink1914\lib\api\rest\v2\tlRestApi.class.php(270): Slim\Slim::handleErrors(8, 'Undefined offse...', 'C:\app\xampp\ht...', 270, Array)#1 [internal function]: tlRestApi->getProjectTestPlans('6')#2 C:\app\xampp\htdocs\testlink1914\third_party\Slim\Router.php(172): call_user_func_array(Array, Array)#3 C:\app\xampp\htdocs\testlink1914\third_party\Slim\Slim.php(1222): Slim\Router->dispatch(Object(Slim\Route))#4 C:\app\xampp\htdocs\testlink1914\third_party\Slim\Middleware\Flash.php(86): Slim\Slim->call()#5 C:\app\xampp\htdocs\testlink1914\third_party\Slim\Middleware\MethodOverride.php(94): Slim\Middleware\Flash->call()#6 C:\app\xampp\htdocs\testlink1914\third_party\Slim\Middleware\PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()#7 C:\app\xampp\htdocs\testlink1914\third_party\Slim\Slim.php(1174): Slim\Middleware\PrettyExceptions->call()#8 C:\app\xampp\htdocs\testlink1914\lib\api\rest\v2\index.php(20): Slim\Slim->run()#9 {main}Metadata
Metadata
Assignees
Labels
No labels