#484 Error message - Only variable references should be returned

in 3.4
pending
5
2012-02-15
2012-02-02
AZ
No

There were errors when executing "/tm01/index.php" on 01.02.2012 23:23:38!

PHP errors:
- "Only variable references should be returned by reference" (E_NOTICE) in file "/www/htdocs/w00a0eae/home/tm01/core/types/TestRunList.php" on line 451
- "Invalid argument supplied for foreach()" (E_WARNING) in file "/www/htdocs/w00a0eae/home/tm01/core/types/TestMake.php" on line 487
- "Undefined variable: item" (E_NOTICE) in file "/www/htdocs/w00a0eae/home/tm01/core/types/TestMake.php" on line 534

$_GET = array (
'page' => 'test_make',
'action' => 'process_answer',
'id' => '1',
);

$_POST = array (
'session_id' => '646e11ccc45d85fb69d1cf65699becdc',
'item_id' => '244_245_246_247_248_249_250_251_252_253_254_255_256_257_258',
'block_id' => '40',
'timeout' => '0',
'duration' => '149087',
'answer' =>
array (
244 => '3688',
245 => '3692',
246 => '3698',
247 => '3706',
248 => '3709',
249 => '3718',
250 => '3724',
251 => '3727',
252 => '3734',
253 => '3742',
254 => '3747',
255 => '3755',
256 => '3759',
257 => '3766',
258 => '3772',
),
);

$_COOKIE = array (
);

$_SERVER = array (
'UNIQUE_ID' => 'Tym7alUNiiMAABZi4MkAAAAM',
'GEOIP_ADDR' => '217.251.245.15',
'GEOIP_CONTINENT_CODE' => 'EU',
'GEOIP_COUNTRY_CODE' => 'DE',
'GEOIP_COUNTRY_NAME' => 'Germany',
'HTTP_HOST' => 'www.xxx.de',
'HTTP_CONNECTION' => 'keep-alive',
'CONTENT_LENGTH' => '464',
'HTTP_CACHE_CONTROL' => 'max-age=0',
'HTTP_ORIGIN' => 'http://www.xxx.de',
'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7',
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_REFERER' => 'http://www.xxx.de/tm01/index.php?page=test_make&id=1&resume_messages=true',
'HTTP_ACCEPT_ENCODING' => 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE' => 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4',
'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.xxx.de',
'SERVER_ADDR' => 'xxx78.40',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => 'xxx245.15',
'DOCUMENT_ROOT' => '/www/htdocs/w00a0eae/home/',
'SERVER_ADMIN' => 'webmaster@xxx.de',
'SCRIPT_FILENAME' => '/www/htdocs/w00a0eae/home/tm01/index.php',
'REMOTE_PORT' => '52616',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'POST',
'QUERY_STRING' => 'page=test_make&action=process_answer&id=1',
'REQUEST_URI' => '/tm01/index.php?page=test_make&action=process_answer&id=1',
'SCRIPT_NAME' => '/tm01/index.php',
'PHP_SELF' => '/tm01/index.php',
'REQUEST_TIME' => '1328135018',
'argv' =>
array (
0 => 'page=test_make&action=process_answer&id=1',
),
'argc' => '1',
);

$_ENV = array (
'APACHE_PID_FILE' => '/var/run/apache2.pid',
'APACHE_RUN_USER' => 'www-data',
'APACHE_LOG_DIR' => '/var/log/apache2',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'PWD' => '/root',
'APACHE_RUN_GROUP' => 'www-data',
'LANG' => 'C',
'SHLVL' => '1',
'APACHE_LOCK_DIR' => '/var/lock/apache2',
'APACHE_RUN_DIR' => '/var/run/apache2',
'_' => '/usr/sbin/apache2',
);

$_SESSION = array (
'userId' => 0,
'initDone' => true,
'language' => 'de',
'RUNNING_TESTS' =>
array (
1 => NULL,
),
'msgs' =>
array (
0 =>
array (
'msg' => 'Es ist ein Systemfehler aufgetreten. Ein Administrator wurde benachrichtigt!',
'flag' => -1,
'hash' => 'd6b5af9a19c60fb18e993919b88c23db',
),
),
);

Discussion

  • fixed in 1112

     
    • assigned_to: nobody --> patrickwallukat
    • status: open --> pending