Warning: ksort() expects parameter 1 to be array, null given
« on: September 13, 2009, 05:29:39 AM »
I've been running the sitemap generator successfully for some time. Tonight, it won't index any pages. I get the following messages:

Warning: ksort() expects parameter 1 to be array, null given in .../generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 58

Warning: Invalid argument supplies for foreach() in .../generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 60

What's going on? I'm using WordPress 2.8.4 on Dreamhost.
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #2 on: September 14, 2009, 07:00:19 AM »
hey, same as me.


my url is [ External links are visible to forum administrators only ]
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #4 on: September 20, 2009, 07:37:17 PM »
Thanks for the link to test the robots.txt file. The problem with it was that there were blank lines in it between some disallow lines and before an allow line. I removed them and now the robots.txt file works correctly.
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #5 on: March 26, 2010, 11:07:00 AM »
Hi...
I have the same problem. Can you help me?

thanks in advance.