Title: Fatal Error
Last modified: November 23, 2022

---

# Fatal Error

 *  Resolved [economycandy](https://wordpress.org/support/users/economycandy/)
 * (@economycandy)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-4304/)
 * Hi,
 * I just received an email from WordPress about a fatal error with Yoast SEO. Everything
   seems okay right now, but we’ve been having issues on and off with Yoast SEO 
   so thought this may provide some insight into whatever the deeper issue is:
 * WordPress version 6.0.3
    Active theme: Your Web Layout (version 1.3.0) Current
   plugin: Yoast SEO (version 19.10) PHP version 8.0.25
 * Error Details
    ============= An error of type E_ERROR was caused in line 42 of
   the file /nas/content/live/economycandy/wp-content/plugins/wordpress-seo/admin/
   views/tool-file-editor.php. Error message: Uncaught TypeError: fwrite(): Argument#
   1 ($stream) must be of type resource, bool given in /nas/content/live/economycandy/
   wp-content/plugins/wordpress-seo/admin/views/tool-file-editor.php:42 Stack trace:#
   0 /nas/content/live/economycandy/wp-content/plugins/wordpress-seo/admin/views/
   tool-file-editor.php(42): fwrite(false, ‘# START YOAST B…’) #1 /nas/content/live/
   economycandy/wp-content/plugins/wordpress-seo/admin/pages/tools.php(93): require_once(‘/
   nas/content/li…’) #2 /nas/content/live/economycandy/wp-content/plugins/wordpress-
   seo/admin/menu/class-menu.php(76): require_once(‘/nas/content/li…’) #3 /nas/content/
   live/economycandy/wp-content/plugins/wordpress-seo/admin/menu/class-menu.php(
   63): WPSEO_Menu->show_page(‘wpseo_tools’) #4 /nas/content/live/economycandy/wp-
   includes/class-wp-hook.php(307): WPSEO_Menu->load_page(”) #5 /nas/content/live/
   economycandy/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)#
   6 /nas/content/live/economycandy/wp-includes/plugin.php(476): WP_Hook->do_action(
   Array) #7 /nas/content/live/economycandy/wp-admin/admin.php(259): do_action(‘
   seo_page_wpseo_…’) #8 {main} thrown`
 * Thank you!
 * Skye
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4304%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-4304/#post-16230585)
 * Hello Skye,
 * I’m sorry about the fatal error. It could have been a temporary issue since nothing
   is affected on your site. I see that the error is related to the file editor 
   tool that should be in WordPress > Yoast SEO > Tools > File Editor. Do you have
   problems accessing or using that tool?
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-4304/#post-16241155)
 * This thread was marked resolved due to a lack of activity, but you’re always 
   welcome to re-open the topic. Please read [this post](https://wordpress.org/support/topic/read-this-before-your-post/)
   before [opening a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).

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

The topic ‘Fatal Error’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-4304/#post-16241155)
 * Status: resolved