This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#978 array error in /inc/indexer.php on line 56
Syntax
2006-11-12getphp
enviroment:
debian sarge with apache2, mod_php ... PHP 5.2.0-0.dotdeb.2
i've just upgraded from the last stable dokuwiki version und looked in my errorlog:
PHP Warning: array_keys(): The first argument should be an array in /path/to/script/dokuwiki-2006-11-06/inc/indexer.php on line 56
PHP Warning: join(): Bad arguments. in /path/to/script/dokuwiki-2006-11-06/inc/indexer.php on line 56
no correction code from my side ...
the next one seems to be a subsequent error:
PHP Warning: Invalid argument supplied for foreach() in /path/to/script/dokuwiki-2006-11-06/lib/exe/indexer.php on line 191
in line 189 is this code:
if(count($info)){
it should be this code:
if(is_array($info) && !empty($info)){