Title: FS_METHOD already defined
Last modified: September 25, 2023

---

# FS_METHOD already defined

 *  Resolved [DickRaney](https://wordpress.org/support/users/dickraney/)
 * (@dickraney)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fs_method-already-defined/)
 * I am getting these warnings in my server logs:
 * `PHP message: PHP Warning: Constant FS_METHOD already defined in [/var/www/vhosts/mydomain.com/httpdocs/wp-config.php](https://mail.awts.com:8443/smb/file-manager/code-editor?currentDir=%2Fhttpdocs&subscriptionId=150&file=wp-config.php&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F150)`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffs_method-already-defined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fs_method-already-defined/#post-17078508)
 * This error is not coming from the plugin.
 *  Thread Starter [DickRaney](https://wordpress.org/support/users/dickraney/)
 * (@dickraney)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fs_method-already-defined/#post-17078528)
 * Huh… It goes away if I deactivate the plugin.
 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fs_method-already-defined/#post-17078557)
 * You may comment out the line in `[/var/www/vhosts/mydomain.com/httpdocs/wp-config.php](https://mail.awts.com:8443/smb/file-manager/code-editor?currentDir=%2Fhttpdocs&subscriptionId=150&file=wp-config.php&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F150)`
   if the error persist.

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

The topic ‘FS_METHOD already defined’ is closed to new replies.

 * ![](https://ps.w.org/ip2location-country-blocker/assets/icon-128x128.png?rev=
   2121917)
 * [IP2Location Country Blocker](https://wordpress.org/plugins/ip2location-country-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip2location-country-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip2location-country-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip2location-country-blocker/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [IP2Location](https://wordpress.org/support/users/ip2location/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/fs_method-already-defined/#post-17078557)
 * Status: resolved