• Resolved mikeyc71

    (@mikeyc71)


    Hi David,

    I am getting the following error when trying to activate the Mollie Ideal Plugin when having SSH SFTP updater plugin active.
    Do you have a solution for this, or is the fault in the mollie-payments-for-woocommerce plugin ? i did post the error on their forum Click here

    Fatal error: Uncaught Error: Call to a member function stat() on boolean in /home/mydomain/public_html/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php:253 Stack trace: #0 /home/mydomain/public_html/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php(439): WP_Filesystem_SSH2->exists(‘/home/dutchshop…’) #1 /home/mydomain/public_html/wp-content/plugins/mollie-payments-for-woocommerce/mollie-payments-for-woocommerce.php(66): WP_Filesystem_SSH2->find_folder(‘/home/dutchshop…’) #2 /home/mydomain/public_html/wp-content/plugins/mollie-payments-for-woocommerce/mollie-payments-for-woocommerce.php(58): deleteWPTranslationFiles() #3 /home/mydomain/public_html/wp-includes/class-wp-hook.php(287): mollie_wc_plugin_activation_hook(”) #4 /home/mydomain/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #5 /home/mydomain/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /home/mydomain/public_html/wp-admin/plugins.php(193): in /home/mydomain/public_html/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 253

    • This topic was modified 3 years, 10 months ago by mikeyc71.
Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    This can only be fixed in the calling plugin, which is asking for a “yes / no” answer to the question “does this file exist?” when the filesystem link has not been set up. In that situation, the SFTP/SSH plugin cannot either answer “yes” or “no”, so instead has to throw an exception, which the calling plugin is not trapping either, so crashes.

    David

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught Error: Call to a member function stat() on boolean’ is closed to new replies.