• Resolved mihansa

    (@mihansa)


    I installed this plugin using add new plugin from inside WordPress, and it immediately crashed my dashboard. The crash was not browser specific (got the same page of error messages in FireFox 10.0.2 and Internet Explorer 8), and I was only able to get back into my dashboard by using FTP to delete the plugin folder.

    Here’s what I got instead of my dashboard (I replaced my webhost user name with WHUN wherever it appeared):

    Warning: Wrong parameter count for strstr() in /home/WHUN/public_html/wp-content/plugins/wp-html-sitemap/wp-html-sitemap.php on line 159

    Warning: include_once(wp-admin/includes/theme.php) [function.include-once]: failed to open stream: No such file or directory in /home/WHUN/public_html/wp-content/plugins/wp-html-sitemap/wp-html-sitemap.php on line 160

    Warning: include_once() [function.include]: Failed opening ‘wp-admin/includes/theme.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/WHUN/public_html/wp-content/plugins/wp-html-sitemap/wp-html-sitemap.php on line 160

    Warning: include_once(wp-admin/includes/plugin.php) [function.include-once]: failed to open stream: No such file or directory in /home/WHUN/public_html/wp-content/plugins/wp-html-sitemap/wp-html-sitemap.php on line 161

    Warning: include_once() [function.include]: Failed opening ‘wp-admin/includes/plugin.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/WHUN/public_html/wp-content/plugins/wp-html-sitemap/wp-html-sitemap.php on line 161

    Fatal error: Call to undefined function get_page_templates() in /home/WHUN/public_html/wp-content/plugins/wp-html-sitemap/inc/Utilities.php on line 382

    WordPress vs. 3.3.1
    Theme: dusk to dawn
    Installed plugins: Comment Notifier, Follow, WordPress Importer, WordPress SEO

    http://wordpress.org/extend/plugins/wp-html-sitemap/

Viewing 1 replies (of 1 total)
  • Plugin Author wmsedgar

    (@wmsedgar)

    mihansa,

    Sorry to hear you experienced this issue. Just FYI, the crash above was created by a function call to an updated version of the strstr function. You must be running PHP v5.2 or earlier. We originally wrote WP HTML Sitemap to use the updated version of the PHP strstr function, which became available in the PHP v5.3 release. However, when we saw this created an issue for anyone running an older version of PHP, we removed that dependency.

    The updated version of WP HTML Sitemap (v1.1.1) contains the fix, and runs fine on webservers running an earlier version of PHP.

    You can see a discussion of this in the WP HTML Sitemap support forum on WordPress.org here.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP HTML Sitemap] Warning! Installing this plugin crashed my dashboard!’ is closed to new replies.