• Resolved nmwordporg

    (@nmwordporg)


    I am seeing this error in the apache2 logs

    PHP Fatal error: Uncaught Error: Call to a member function stat() on boolean in /usr/share/wordpress/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php:253\nStack trace:\n#0 /usr/share/wordpress/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php(439): WP_Filesystem_SSH2->exists(‘/usr/share/word…’)\n#1 /usr/share/wordpress/wp-admin/includes/class-wp-filesystem-base.php(73): WP_Filesystem_SSH2->find_folder(‘/usr/share/word…’)\n#2 /usr/share/wordpress/wp-content/plugins/visualizer/classes/Visualizer/Module.php(454): WP_Filesystem_Base->wp_content_dir()\n#3 /usr/share/wordpress/wp-content/plugins/visualizer/classes/Visualizer/Module/Frontend.php(181): Visualizer_Module->get_user_customization_js()\n#4 /usr/share/wordpress/wp-includes/class-wp-hook.php(286): Visualizer_Module_Frontend->enqueueScripts(”)\n#5 /usr/share/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#6 /usr/share/wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#7 /usr/share in /usr/share/wordpress/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 253

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor contactashish13

    (@rozroz)

    @nmwordporg it looks like a conflict with ssh-sftp-updater-support. Can you please disable that and see if you get the error?

    Plugin Contributor contactashish13

    (@rozroz)

    @nmwordporg I assume this is now resolved as we haven’t heard back from you. If you are still facing a problem, please start a new thread.

    Thread Starter nmwordporg

    (@nmwordporg)

    Hello
    If I disable the sftp-updater plugin the problem goes away. If I enable the sftp-updater plugin none of the sites work.

    I also posted the issue with sftp-updater plugin support and they are blaming the visualizer plugin :
    https://ww.wp.xz.cn/support/topic/php-fatal-error-188/

    The stack trace above indicates that the plugin “visualizer” has a coding error in how it uses the WP_Filesystem API. It requests to use it, but does not check the returned answer as to whether it can be used or not… it just carries on and attempts, resulting in a fatal error in the case where the answer from WordPress was “you can’t use this at this point”. You should report it to the plugin author.

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

The topic ‘php fatal error’ is closed to new replies.