fatal error … Call to undefined function ssh2_sftp_realpath()
-
When I try to activate the SG Optimizer plugin, I get the error message below (with my URL edited out).
The last change I made to the site was installing this plugin–https://ww.wp.xz.cn/plugins/ssh-sftp-updater-support/–but the error persists even after deleting this plugin.
I’m afraid I’m a beginner, and don’t know where to go from here. Thanks so much for your help!
Warning: file_exists(): Unable to find the wrapper “ssh2.sftp” – did you forget to enable it when you configured PHP? in /home/customer/www/example.com/public_html/wp-admin/includes/class-wp-filesystem-ssh2.php on line 564
Fatal error: Uncaught Error: Call to undefined function ssh2_sftp_realpath() in /home/customer/www/example.com/public_html/wp-admin/includes/class-wp-filesystem-ssh2.php:302 Stack trace: #0 /home/customer/www/example.com/public_html/wp-admin/includes/class-wp-filesystem-base.php(259): WP_Filesystem_SSH2->cwd() #1 /home/customer/www/example.com/public_html/wp-admin/includes/class-wp-filesystem-base.php(236): WP_Filesystem_Base->search_for_folder(‘/home/customer/…’) #2 /home/customer/www/example.com/public_html/wp-admin/includes/class-wp-filesystem-base.php(57): WP_Filesystem_Base->find_folder(‘/home/customer/…’) #3 /home/customer/www/example.com/public_html/wp-content/plugins/sg-cachepress/core/Htaccess/Htaccess.php(105): WP_Filesystem_Base->abspath() #4 /home/customer/www/example.com/public_html/wp-content/plugins/sg-cachepress/core/Htaccess/Htaccess.php(81): SiteGround_Optimizer\Htaccess\Htaccess->set_htaccess_path() #5 /home/customer/www/example.com/public_html/wp-content/plugins/sg-cache in /home/customer/www/example.com/public_html/wp-admin/includes/class-wp-filesystem-ssh2.php on line 302
The topic ‘fatal error … Call to undefined function ssh2_sftp_realpath()’ is closed to new replies.