Fatal error – ssh sftp updater plugin, can’t install plugin Rank Math

#52583
  • Resolved Intelisoft Informatique
    Rank Math free

    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-ran

    So 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Todd
    Rank Math free

    Hi Kristine,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    We are checking this and we will get back to you soon.

    I appreciate your patience in this matter.

    Thank you.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins and FTP details in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    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.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Fatal error – ssh sftp updater plugin, can’t install plugin Rank Math’ is closed to new replies.