Title: PHP 8.1 error
Last modified: November 5, 2022

---

# PHP 8.1 error

 *  Resolved [ant385](https://wordpress.org/support/users/ant385/)
 * (@ant385)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-1-error/)
 * [05-Nov-2022 20:02:01 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand
   types: int * string in /home2/zlowdaj/public_html/wp-content/plugins/google-sitemap-
   gene
    rator/class-googlesitemapgeneratorstandardbuilder.php:493 Stack trace: #
   0 /home2/zlowdaj/public_html/wp-content/plugins/google-sitemap-generator/class-
   googlesitemapgeneratorstandardbuilder.php(44): GoogleSitemapGeneratorStandardBuilder-
   >build_t axonomies(Object(GoogleSitemapGenerator), ‘post_tag’) #1 /home2/zlowdaj/
   public_html/wp-includes/class-wp-hook.php(308): GoogleSitemapGeneratorStandardBuilder-
   >content(Object(GoogleSitemapGenerator), ‘tax’, ‘post_tag’) #2 /home2/zlowdaj/
   public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)#
   3 /home2/zlowdaj/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(
   Array) #4 /home2/zlowdaj/public_html/wp-content/plugins/google-sitemap-generator/
   sitemap-core.php(1961): do_action(‘sm_build_conten…’, Object(GoogleSitemapGenerator),‘
   tax’, ‘pos t_tag’) #5 /home2/zlowdaj/public_html/wp-content/plugins/google-sitemap-
   generator/class-googlesitemapgeneratorloader.php(387): GoogleSitemapGenerator-
   >show_sitemap(Array) #6 /home2/zlowdaj/public_html/wp-content/plugins/google-
   sitemap-generator/class-googlesitemapgeneratorloader.php(250): GoogleSitemapGeneratorLoader::
   call_show_sitemap(‘param s=tax-post…’) #7 /home2/zlowdaj/public_html/wp-includes/
   class-wp-hook.php(306): GoogleSitemapGeneratorLoader::do_template_redirect() #
   8 /home2/zlowdaj/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(
   false, Array) #9 /home2/zlowdaj/public_html/wp-includes/plugin.php(517): WP_Hook-
   >do_action(Array) #10 /home2/zlowdaj/public_html/wp-includes/template-loader.
   php(13): do_action(‘template_redire…’) #11 /home2/zlowdaj/public_html/wp-blog-
   header.php(19): require_once(‘/home2/zlowdaj/…’) #12 /home2/zlowdaj/public_html/
   index.php(17): require(‘/home2/zlowdaj/…’) #13 {main}
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-1-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [saurabhdhariwal01](https://wordpress.org/support/users/saurabhdhariwal01/)
 * (@saurabhdhariwal01)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-1-error/#post-16175693)
 * Thanks for raising the issue.
    We have tracked the issue and will release it 
   in our new version.

Viewing 1 replies (of 1 total)

The topic ‘PHP 8.1 error’ is closed to new replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [saurabhdhariwal01](https://wordpress.org/support/users/saurabhdhariwal01/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-1-error/#post-16175693)
 * Status: resolved