Title: [Plugin: WordPress SEO by Yoast] PHP Warning: fwrite()
Last modified: August 19, 2016

---

# [Plugin: WordPress SEO by Yoast] PHP Warning: fwrite()

 *  [adchased](https://wordpress.org/support/users/adchased/)
 * (@adchased)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-php-warning-fwrite/)
 * Hi,
 * with every new Post Apache2 (ModPHP) is throwing this error:
 * > PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /
   > var/www/clients/client6/web12/web/wp-content/plugins/wordpress-seo/sitemaps/
   > xml-sitemap-class.php on line 47, referer: wp-admin/post-new.php
 * It’s strange because we do not have the Sitemap Feature of WordPress SEO enabled.
 * Thanks
    Andreas

The topic ‘[Plugin: WordPress SEO by Yoast] PHP Warning: fwrite()’ is closed to 
new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [adchased](https://wordpress.org/support/users/adchased/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-php-warning-fwrite/)
 * Status: not resolved