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.
FS#715 userewrite=2 leads to php warning
Warning: reset(): Passed variable is not an array or object in /home/www/johbuc6.coconia.net/inc/html.php on line 237
Warning: Variable passed to each() is not an array or object in /home/www/johbuc6.coconia.net/inc/html.php on line 238
when i switched to "use nice URLs"
I solved it:
in /inc/html.php, line ~234, in function function html_btn:
if(!is_array($params)) $params = array();
Because: $params might not be an array, especially if you use
$conf['userewrite'] = '2';
I would use impicit types, but not everyone has php5...
This was probably caused by a third party template passing an invalid parameter. I added a typecheck anyway.