Error when displaying HTML sitemap
-
Hello,
I use the latest version of the plugin (v4.6.0.1). I put [html-sitemap] on a page. I get this :
Fatal error: Uncaught ArgumentCountError: Too few arguments to function html_posttypes(), 3 passed in /wp-content/plugins/companion-sitemap-generator/functions-block.php on line 17 and exactly 4 expected in /wp-content/plugins/companion-sitemap-generator/functions-sitemap-html.php:22 Stack trace: #0 /wp-content/plugins/companion-sitemap-generator/functions-block.php(17): html_posttypes() #1 /wp-content/plugins/companion-sitemap-generator/functions-block.php(96): htmlsitemap() #2 /wp-includes/shortcodes.php(434): {closure}() #3 [internal function]: do_shortcode_tag() #4 /wp-includes/shortcodes.php(273): preg_replace_callback() #5 /wp-includes/class-wp-hook.php(341): do_shortcode() #6 /wp-includes/plugin.php(205): WP_Hook->apply_filters() #7 /wp-includes/post-template.php(256): apply_filters() #8 /wp-content/themes/bootstrap-basic/page.php(25): the_content() #9 /wp-includes/template-loader.php(132): include(‘/home/uwxm9846/…’) #10 /wp-blog-header.php(19): require_once(‘/home/uwxm9846/…’) #11 /index.php(17): require(‘/home/uwxm9846/…’) #12 {main} thrown in /wp-content/plugins/companion-sitemap-generator/functions-sitemap-html.php on line 22Thank you
You must be logged in to reply to this topic.