Title: [Plugin: WP HTML Sitemap] Not Working
Last modified: August 20, 2016

---

# [Plugin: WP HTML Sitemap] Not Working

 *  Resolved [karunverma](https://wordpress.org/support/users/karunverma/)
 * (@karunverma)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/)
 * I installed this plugin, when I tried to activate it, my admin panel stops working
   and shows blank page. Then I removed the plugin using FTP and my site backs to
   normal.
 * [http://wordpress.org/extend/plugins/wp-html-sitemap/](http://wordpress.org/extend/plugins/wp-html-sitemap/)

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

 *  Plugin Author [wmsedgar](https://wordpress.org/support/users/wmsedgar/)
 * (@wmsedgar)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606563)
 * karunverma,
 * Yowza! That’s not good! We’ve tested the plugin in a number of scenarios without
   issue, but obviously you’ve run into something we haven’t seen. If you can give
   us more detail, we’d like to resolve the issue so nobody else runs into it.
    - What version of WordPress are you running?
    - Are you running WPMU/WPMS?
    - Anything non-standard about your WordPress config?
    - What other plugins are you running?
 * One recommendation is validating that all of the WP HTML Sitemap directories 
   and files transferred successfully to your server. If some files were missing,
   that can definitely cause a fatal error like the one you described.
 * It is also possible, though unlikely, that WP HTML Sitemap is conflicting with
   another plugin you are running.
 * Something that would help diagnose the issue quickly, if you are able to do it,
   is temporarily putting your WP server in [DEBUG mode](http://codex.wordpress.org/Editing_wp-config.php#Debug)
   and capturing the output when you try to activate WP HTML Sitemap. Let us know
   if this is something you can do, we’d really like to examine that output.
 *  Thread Starter [karunverma](https://wordpress.org/support/users/karunverma/)
 * (@karunverma)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606663)
 * Hi There,
 * I am using wordpress 3.3.1.
 * And I am very much sure that all files and directories are uploaded on the server
   correctly.
 * I am also using the Google XML Sitemap plugin, is it causing any issue?
 * And I am afraid I do not have access to the server directly, I only have FTP 
   and admin access of wordpress, so I cannot put the server in the DEBUG mode.
 * I tried it again today, but same issue again. My admin panel goes blank when 
   I hit activate plugin button.
 *  Plugin Author [wmsedgar](https://wordpress.org/support/users/wmsedgar/)
 * (@wmsedgar)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606697)
 * karunverma,
 * Thanks for your response. We’re not sure whether there could be any plugin conflict
   with Google XML Sitemap, but we can test that easily enough. We’ll test this 
   week and see if we can identify the issue.
 * Just FYI, you can put WordPress in DEBUG mode via FTP. All you have to do is 
   edit wp-config.php (in your WordPress root directory) and either un-comment or
   add the following line to wp-config.php:
 * `define( 'WP_DEBUG', true );`
 * Then just remove (or comment out) that line to put WordPress back in standard
   mode once you’re done. If it’s a production server though, you may not want to
   do that.
 *  [yeahwow](https://wordpress.org/support/users/yeahwow/)
 * (@yeahwow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606708)
 * [@wmsedgar](https://wordpress.org/support/users/wmsedgar/)
 * Your plugin looks really promising but I have the same problem here. Upon activation
   I get the message:
    Warning: Wrong parameter count for strstr() in xxx/wp-html-
   sitemap/wp-html-sitemap.php on line 159 then some more messages, and finally 
   resulting in: Fatal error: Call to undefined function get_page_templates() in
   xxx/wp-html-sitemap/inc/Utilities.php on line 382
 * The dashboard is gone, but returns if I delete the plugin using FTP. Maybe this
   will help to solve the problem.
    BTW: did the plugin leave any trash in my DB?
 *  Plugin Author [wmsedgar](https://wordpress.org/support/users/wmsedgar/)
 * (@wmsedgar)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606712)
 * yeahwow,
 * Thanks. Your post helped tremendously. We were using an updated version of the
   strstr function available since PHP v5.3. Unfortunately this meant that the plugin
   crashed for anyone running an older version of PHP (for example v5.2).
 * We eliminated the dependency on the updated version of the strstr function, and
   the plugin should function properly now for anyone running an older version of
   PHP.
 * Make sure you download the most recent tagged version (v1.1.1), as that version
   contains the fix.
 * In answer to your question about trash in your WP database: WP HTML Sitemap only
   loads 2 options into the WP database. However, the plugin probably did not make
   it far enough into it’s initialization process to load it’s options into the 
   WP database before crashing. You can verify this by executing this SQL against
   the wp_options table in your WP database:
 * `SELECT * FROM ``wp_options` WHERE `option_name` LIKE ‘%wp-html-sitemap%’
 * If the options were loaded, you’ll see 2 rows – 1 for ‘wp-html-sitemap-general’
   and another called ‘wp-html-sitemap-sections’. If these rows exist, they can 
   safely be deleted. If you reload the plugin, they will be recreated.
 * Thanks again for your help.
 *  [yeahwow](https://wordpress.org/support/users/yeahwow/)
 * (@yeahwow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606715)
 * You’re welcome. Thanks for the speedy reply. I will check out version 1.1.1.
 *  [talk2mitra](https://wordpress.org/support/users/talk2mitra/)
 * (@talk2mitra)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606848)
 * wp html plugin looks great in localhost with other plugins. But when I installed
   it into server, it displayed the short code [wp_html_sitemap] only in the page.
   So how can I solve it. Please reply.
    Thank you. Check [http://www.invlessons.com/sitemap/](http://www.invlessons.com/sitemap/)

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

The topic ‘[Plugin: WP HTML Sitemap] Not Working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-html-sitemap_f9fdff.svg)
 * [WP HTML Sitemap](https://wordpress.org/plugins/wp-html-sitemap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-html-sitemap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-html-sitemap/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-html-sitemap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-html-sitemap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-html-sitemap/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [talk2mitra](https://wordpress.org/support/users/talk2mitra/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-html-sitemap-not-working/#post-2606848)
 * Status: resolved