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 #1 on: September 13, 2009, 05:50:41 PM »
Hello,

please PM me your generator URL/login.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.
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 http://www.xingfufu4.com/home.html
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #3 on: September 14, 2009, 09:43:26 PM »
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.
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.
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #6 on: March 26, 2010, 09:11:23 PM »
Did you check your site in search engine bot simulator?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.