Title: decent_dev's Replies | WordPress.org

---

# decent_dev

  [  ](https://wordpress.org/support/users/decent_dev/)

 *   [Profile](https://wordpress.org/support/users/decent_dev/)
 *   [Topics Started](https://wordpress.org/support/users/decent_dev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/decent_dev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/decent_dev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/decent_dev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/decent_dev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/decent_dev/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Wp Sitemap] XML Sitemap Error](https://wordpress.org/support/topic/xml-sitemap-error-10/)
 *  Thread Starter [decent_dev](https://wordpress.org/support/users/decent_dev/)
 * (@decent_dev)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/xml-sitemap-error-10/#post-6503681)
 * Hi, I did as you said. Gave error:
    Undefined variable: lang in /home/****/functions.
   php on line 98
 * Went to check and found line 98 was empty & was between
    (Line 97) $theme = new
   Theme(); (Line 98) (Line 99) $theme->init(array(
 * Hence when back to change debug value to false. And you know what, WordPress 
   is full of surprises. After refreshing xml sitemap, it started working perfect.
 * Thanks for your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Wp Sitemap] XML Sitemap Error](https://wordpress.org/support/topic/xml-sitemap-error-10/)
 *  Thread Starter [decent_dev](https://wordpress.org/support/users/decent_dev/)
 * (@decent_dev)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/xml-sitemap-error-10/#post-6503655)
 * Hi, thanks for reply.I disabled all plugins but still the same error.
 * Strange thing is, even though I am getting this error but when submitted to Google&
   Bing webmaster, they are able to read it as tells me how many links are submitted
   in sitemap. (I think it works in IE though).
 * I am using Expedia Support Plugin, GZip Ninja Speed Compression, Material Admin
   Theme, Page Links To, WordPress HTTPS, WordPress Importer, Yoast SEO (with sitemap
   disabled).
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)