-
Hello!
I had a fatal error when I try to install Rank math, it was about SSH updater. I found a ticket (https://support.rankmath.com/ticket/fatal-error-on-subsite-of-multisite/) about almost the same error in your forum (i’m not multisite), but it is closed and the answer is not there so I open a new one
here’s my error:
type E_ERROR a été causée dans la ligne 253 du fichier www/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php. Error message: Uncaught Error: Call to a member function stat() on bool in/www/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php:253
Stack trace:
#0 www/wp-content/plugins/seo-by-rank-math/includes/modules/robots-txt/class-robots-txt.php(88): WP_Filesystem_SSH2->exists(‘/volume2/web.in…’)
#1/www/wp-content/plugins/seo-by-rank-math/includes/modules/robots-txt/options.php(12): RankMath\Robots_Txt::get_robots_data()
#2/www/wp-content/plugins/seo-by-rank-math/includes/admin/class-options.php(165): include(‘/volume2/web.in…’)
#3 www/wp-includes/class-wp-hook.php(287): RankMath\Admin\Options->register_option_page(”)
#4 www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#5 www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 www/wp-content/plugins/seo-by-ranSo I went to the SSH updater plugin forum and I found this:
https://wordpress.org/support/topic/php-fatal-error-call-to-a-member-function-stat-on-boolean/
” This error occurs if you have code that calls the WP_Filesystem function incorrectly, carrying on blindly after receiving an error (rather than checking codes returned). As such, the thing to do is to report it to the plugin author.
Looking in the first plugin you mention, it calls the WP_Filesystem API but does not check the result, and does not check whether any credentials are needed, but just carries on. ”
So i’m little confused. Do you think you can help me maybe?
Thanks a lot!
Kristine
The ticket ‘Fatal error – ssh sftp updater plugin, can’t install plugin Rank Math’ is closed to new replies.