Title: Call to undefined function get_filesystem_method()
Last modified: November 11, 2019

---

# Call to undefined function get_filesystem_method()

 *  Resolved [bonsai78](https://wordpress.org/support/users/bonsai78/)
 * (@bonsai78)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_filesystem_method/)
 * Below is the wordpress debug.log and occurs if I try to change the user of a 
   post or an an image. Posting pure text works. Switched of PWA plugin, everything
   works. Plugin before worked for months without any issues. No new Plugins installed,
   only updates done.
 * [11-Nov-2019 10:25:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined
   function get_filesystem_method() in /var/www/vhosts/example.org/httpdocs/wp-content/
   plugins/pwa-for-wp/service-work/class-file-creation.php:555
    Stack trace: #0 /
   var/www/vhosts/example.org/httpdocs/wp-content/plugins/pwa-for-wp/service-work/
   class-file-creation.php(280): pwaforwpFileCreation->pwaforwp_getlayoutfiles(‘
   layouts/sw.js’) #1 /var/www/vhosts/example.org/httpdocs/wp-content/plugins/pwa-
   for-wp/service-work/class-init.php(43): pwaforwpFileCreation->pwaforwp_swjs()#
   2 /var/www/vhosts/example.org/httpdocs/wp-content/plugins/pwa-for-wp/service-
   work/class-service-worker.php(312): PWAFORWP_File_Creation_Init->pwaforwp_swjs_init()#
   3 /var/www/vhosts/example.org/httpdocs/wp-includes/class-wp-hook.php(286): PWAFORWP_Service_Worker-
   >pwaforwp_store_latest_post_ids(5944, Object(WP_Post)) #4 /var/www/vhosts/example.
   org/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL,
   Array) #5 /var/www/vhosts/example.org/httpdocs/wp-includes/plugi in /var/www/
   vhosts/example.org/httpdocs/wp-content/plugins/pwa-for-wp/service-work/class-
   file-creation.php on line 555

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

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_filesystem_method/#post-12126361)
 * Hello,
    We have released an latest version 1.7.2.1 With a fix of the above error.
 * please update and let us know.
 *  Thread Starter [bonsai78](https://wordpress.org/support/users/bonsai78/)
 * (@bonsai78)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_filesystem_method/#post-12126735)
 * I updated and can’t see this problem any more. There is another one, but not 
   related to this topic. As it didn’t change while updating. I open a new thread.
   
   Thank you very much!

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

The topic ‘Call to undefined function get_filesystem_method()’ is closed to new 
replies.

 * ![](https://ps.w.org/pwa-for-wp/assets/icon-256x256.png?rev=1939317)
 * [PWA for WP - Progressive Web Apps Made Simple](https://wordpress.org/plugins/pwa-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pwa-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pwa-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/pwa-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pwa-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pwa-for-wp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bonsai78](https://wordpress.org/support/users/bonsai78/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/call-to-undefined-function-get_filesystem_method/#post-12126735)
 * Status: resolved