Title: Steele Media's Replies | WordPress.org

---

# Steele Media

  [  ](https://wordpress.org/support/users/steelemedia/)

 *   [Profile](https://wordpress.org/support/users/steelemedia/)
 *   [Topics Started](https://wordpress.org/support/users/steelemedia/topics/)
 *   [Replies Created](https://wordpress.org/support/users/steelemedia/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/steelemedia/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/steelemedia/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/steelemedia/engagements/)
 *   [Favorites](https://wordpress.org/support/users/steelemedia/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Index sitemap showing one extra blank sitemap](https://wordpress.org/support/topic/index-sitemap-showing-one-extra-blank-sitemap/)
 *  [Steele Media](https://wordpress.org/support/users/steelemedia/)
 * (@steelemedia)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/index-sitemap-showing-one-extra-blank-sitemap/#post-15795892)
 * Hi, I am seeing the same issue. The sitemap returns an error at Google because
   of the empty entry at the end. I have tried turning everything off and on again
   but it still shows, eg (domain redacted):
 * <?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl” href=”//
   www.DOMAIN/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl”?>
    <sitemapindex
   xmlns=”[http://www.sitemaps.org/schemas/sitemap/0.9″&gt](http://www.sitemaps.org/schemas/sitemap/0.9″&gt);
   <sitemap> <loc>[https://www.DOMAIN/page-sitemap.xml</loc&gt](https://www.DOMAIN/page-sitemap.xml</loc&gt);
   <lastmod>2022-07-04T15:23:47+00:00</lastmod> </sitemap> <sitemap><loc></loc></
   sitemap></sitemapindex> <!– XML Sitemap generated by Yoast SEO –>
 * Is there any way to debug this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Classifieds & Directory Pro] Images (Why only permanently delete?)](https://wordpress.org/support/topic/images-why-only-permanently-delete/)
 *  [Steele Media](https://wordpress.org/support/users/steelemedia/)
 * (@steelemedia)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/images-why-only-permanently-delete/#post-11645539)
 * For anyone looking for a temporary workaround to this issue, you can edit admin/
   class-acadp-admin.php, and comment out line 153:
 * wp_delete_attachment( $_POST[‘attachment_id’], true );
 * Which is part of the function ajax_callback_delete_attachment().
 * This affects the link next to the images in the backend listing management which
   says “Permanently Delete” by not actually deleting the image from the media library,
   but still removing the reference from the listing.
 * Please note, there are other references to wp_delete_attachment in the plugin
   which will still delete images if you allow users to manage listings from the
   front end or run updates via cron. Also note that editing the plugin file directly
   will mean the change is overwritten if the plugin is updated. Hope that helps
   someone.

Viewing 2 replies - 1 through 2 (of 2 total)