Support » Plugin: Google XML Sitemaps » Too few arguments to function gglstmp_update_sitemap()

  • kevinhbruce

    (@kevinhbruce)


    After updating WordPress to 4.9.2, I get this error when deleting an event in The Event Calendar plugin:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function gglstmp_update_sitemap(), 1 passed in /home/govemplo/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/govemplo/public_html/wp-content/plugins/google-sitemap-plugin/google-sitemap-plugin.php:1208 Stack trace: #0 /home/govemplo/public_html/wp-includes/class-wp-hook.php(286): gglstmp_update_sitemap(27913) #1 /home/govemplo/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/govemplo/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/govemplo/public_html/wp-includes/post.php(2677): do_action(‘trashed_post’, 27913) #4 /home/govemplo/public_html/wp-admin/post.php(222): wp_trash_post(27913) #5 {main} thrown in /home/govemplo/public_html/wp-content/plugins/google-sitemap-plugin/google-sitemap-plugin.php on line 1208

  • You must be logged in to reply to this topic.