Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /home/tptours/public_html/wp-content/plugins/wordpress-seo-premium/inc/class-sitemaps.php:723
Stack trace:
#0 /home/tptours/public_html/wp-content/plugins/wordpress-seo-premium/inc/class-sitemaps.php(723): implode(Array, ',')
#1 /home/tptours/public_html/wp-content/plugins/wordpress-seo-premium/inc/class-sitemaps.php(320): WPSEO_Sitemaps->build_post_type_map('attachment')
#2 /home/tptours/public_html/wp-content/plugins/wordpress-seo-premium/inc/class-sitemaps.php(276): WPSEO_Sitemaps->build_sitemap('attachment')
#3 /home/tptours/public_html/wp-includes/class-wp-hook.php(324): WPSEO_Sitemaps->redirect(Object(WP_Query))
#4 /home/tptours/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#5 /home/tptours/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#6 /home/tptours/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array('pre_get_posts', Array)
#7 /home/tptours/public_html/wp-includes/class-wp-query.php(3852): WP_Query->get_posts()
#8 /home/tptours/public_html/wp-includes/class-wp.php(696): WP_Query->query(Array)
#9 /home/tptours/public_html/wp-includes/class-wp.php(816): WP->query_posts()
#10 /home/tptours/public_html/wp-includes/functions.php(1336): WP->main('')
#11 /home/tptours/public_html/wp-blog-header.php(16): wp()
#12 /home/tptours/public_html/index.php(17): require('/home/tptours/p...')
#13 {main}
thrown in /home/tptours/public_html/wp-content/plugins/wordpress-seo-premium/inc/class-sitemaps.php on line 723