Title: Server FS_METHOD PHP fatal error
Last modified: July 11, 2021

---

# Server FS_METHOD PHP fatal error

 *  Resolved [travelavenger](https://wordpress.org/support/users/travelavenger/)
 * (@travelavenger)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/server-fs_method-php-fatal-error/)
 * Hi there:
 * This topic is linked to [https://wordpress.org/support/topic/php-fatal-error-after-upgrade-to-1-0-67/](https://wordpress.org/support/topic/php-fatal-error-after-upgrade-to-1-0-67/)
 * Wondering if it is possible to make FS_METHOD not a PHP “fatal” error in the 
   future version? Because that was the reason I changed from “all in one seo” to
   rankmath as rank math’s previous version didnt cause this kind of issue where
   all in one seo suddenly changed the requirement and my server (or some of our
   server) does not have FS_METHOD and have restrictions to add such a module under
   company’s policy.
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fserver-fs_method-php-fatal-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/server-fs_method-php-fatal-error/#post-14648448)
 * Hello [@travelavenger](https://wordpress.org/support/users/travelavenger/),
 * Thank you for contacting the support and sorry for any inconvenience that might
   have been caused due to that.
 * The error log you shared is showing an error on this line:
    [https://github.com/rankmath/seo-by-rank-math/blob/master/includes/modules/robots-txt/class-robots-txt.php#L94](https://github.com/rankmath/seo-by-rank-math/blob/master/includes/modules/robots-txt/class-robots-txt.php#L94)
 * Before this line we already check if the `$wp_filesystem` is empty:
    [https://github.com/rankmath/seo-by-rank-math/blob/master/includes/modules/robots-txt/class-robots-txt.php#L89](https://github.com/rankmath/seo-by-rank-math/blob/master/includes/modules/robots-txt/class-robots-txt.php#L89)
 * So, you shouldn’t be getting this error unless there is some misconfiguration
   on the server. That’s why we had asked you for the Site Details but you haven’t
   shared them yet:
    [https://wordpress.org/support/topic/php-fatal-error-after-upgrade-to-1-0-67/#post-14616870](https://wordpress.org/support/topic/php-fatal-error-after-upgrade-to-1-0-67/#post-14616870)
 * Can you please share so we can assist you better?
 * Looking forward to helping you.
 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/server-fs_method-php-fatal-error/#post-14668029)
 * Hello,
 * Thank you for your patience.
 * Please update Rank Math & all other plugins, themes, and WordPress to the latest
   version.
 * The issue should be fixed.
 * If not, please feel free to open a support topic or reply to this message and
   we will be more than happy to assist.

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

The topic ‘Server FS_METHOD PHP fatal error’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/server-fs_method-php-fatal-error/#post-14668029)
 * Status: resolved