Title: PHP Warnings in Error Log when using this plugin
Last modified: August 21, 2016

---

# PHP Warnings in Error Log when using this plugin

 *  Resolved [searchbuzz](https://wordpress.org/support/users/searchbuzz/)
 * (@searchbuzz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/)
 * Hello – since I began using this plugin, my error log in my root directory is
   going crazy with thousands of lines showing the follwing error message:
 * `[27-Jul-2014 08:00:15 UTC] PHP Warning: Division by zero in /home/username/public_html/
   wp-content/plugins/xml-sitemap-feed/includes/core.php on line 562`
 * Is there a fix for this? Error log is starting to take up space with this error
   coming up every second or so, and I need it to keep an eye out of other errors,
   so do not want to disable it.
 * Ash
 * [https://wordpress.org/plugins/xml-sitemap-feed/](https://wordpress.org/plugins/xml-sitemap-feed/)

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

 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134567)
 * Hi searchbuzz, you have two options:
 * 1. I see you do not want to switch off error logging but you still might consider
   reducing the error log level in either your php.ini with
 *     ```
       error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING
       ```
   
 * or in your wp-config with
 *     ```
       ini_set('error_reporting',E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING);
       ```
   
 * so that it will not show warnings anymore. Or you can try
 *     ```
       ignore_repeated_errors = 1
       ```
   
 * in php.ini to reduce the number of both errors and warnings.
 * 2. You can upgrade the plugin to the development version from [http://wordpress.org/plugins/xml-sitemap-feed/developers/](http://wordpress.org/plugins/xml-sitemap-feed/developers/)‘
   under Other Versions) and if there are still new warnings occurring, then please
   let me know and I’ll fix them.
 * Hope that helps 🙂
 *  Thread Starter [searchbuzz](https://wordpress.org/support/users/searchbuzz/)
 * (@searchbuzz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134621)
 * Hi, I downloaded the development version from that page, and it says it is version
   4.3.106 – when the current release version of 4.3.2. Have I downloaded the right
   one?
 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134622)
 * Yes, it’s the pre-4.4 … any warnings still ?
 *  Thread Starter [searchbuzz](https://wordpress.org/support/users/searchbuzz/)
 * (@searchbuzz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134623)
 * When I installed that one, my sitemap URLs no longer loaded.
 * Then I went back to 4.3.2 and sitemaps are working again.
 * I will just wait until next version is publicly available, do you have a planned
   release date?
 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134674)
 * Hi, you might need to revisit/resave your permalink structure… could you test
   that?
 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134717)
 * Because if I don’t know why this happens, I won’t be able to release the dev 
   version as stable…
 *  Thread Starter [searchbuzz](https://wordpress.org/support/users/searchbuzz/)
 * (@searchbuzz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134718)
 * Hi, sorry. Very busy at work. Will test this now and report back in 5 mins
 *  Thread Starter [searchbuzz](https://wordpress.org/support/users/searchbuzz/)
 * (@searchbuzz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134719)
 * Hi, I updated to dev version. I updated permalink structure, but I see this:
 * [http://searchbuzz.co/sitemap.xml](http://searchbuzz.co/sitemap.xml)
 * White blank screen.
 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134733)
 * I’m seeing your sitemap just fine. It might be a caching problem (the stylesheet
   has changed) so please try to clear browser cache or if you’re on Chrome, visit
   the sitemap in an ‘incognito’ browsers window.
 *  Thread Starter [searchbuzz](https://wordpress.org/support/users/searchbuzz/)
 * (@searchbuzz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134735)
 * Ah yes, seems to be working now. I do run “Cache Killer” plugin for Google Chrome,
   but it seemed to not work.
 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134743)
 * In the Chrome DevTools settings you can check the option **Disable cache (while
   DevTools is open)** but even then that might not include the xls stylesheet. 
   When the DevTools are open, you can always right-click the Reload button and 
   choose ‘Clear cache and reload’ to be sure 🙂
 * Please let me know if you notice any more warnings or notices related to my plugin
   in your log files and I’ll iron them out before the stable release. Thanks for
   your help!

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

The topic ‘PHP Warnings in Error Log when using this plugin’ is closed to new replies.

 * ![](https://ps.w.org/xml-sitemap-feed/assets/icon-128x128.png?rev=1112143)
 * [XML Sitemap & Google News](https://wordpress.org/plugins/xml-sitemap-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xml-sitemap-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xml-sitemap-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xml-sitemap-feed/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 11 replies
 * 2 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-error-log-when-using-this-plugin/#post-5134743)
 * Status: resolved