00491: ksort() error in vardoc.php

Summary: ksort() error in vardoc.php
Created: 2005-08-11 09:24
Status: Closed - fixed for 2.0.6
Category: Bug
From: Jean-Dom?
Priority: 3
Version: PmWiki 2 + Fr Local
OS: Windows XP + EasyPHP 1.8


Error Message:

Warning: ksort() expects parameter 1 to be array, null given in e:\program files\easyphp1-8\www\pmwiki\scripts\vardoc.php on line 68

Warning: Invalid argument supplied for foreach() in e:\program files\easyphp1-8\www\pmwiki\scripts\vardoc.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at e:\program files\easyphp1-8\www\pmwiki\scripts\vardoc.php:68) in e:\program files\easyphp1-8\www\pmwiki\pmwiki.php on line 694

Reproduction steps:

I was installing PmWiki locally.

Everything was OK.

In the configuration file, new pages were indicated. I created these pages by copying them from PmWiki.org/PmWikiFr. I received the message while previewing the Variables pages (the index does not exist, I think).