XML Sitemaps Generator

Author Topic: Warning: ksort() expects parameter 1 to be array, null given  (Read 14980 times)

lockley

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 12
Warning: ksort() expects parameter 1 to be array, null given
« on: September 13, 2009, 04: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #1 on: September 13, 2009, 04: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.

junkiet

  • Approved member
  • *
  • Posts: 1
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #2 on: September 14, 2009, 06:00:19 AM »
hey, same as me.


my url is [external links are visible to admins only]

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #3 on: September 14, 2009, 08: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.

lockley

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 12
Re: Warning: ksort() expects parameter 1 to be array, null given
« Reply #4 on: September 20, 2009, 06: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.

TheMic

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2