• Resolved Imageaurasmihai

    (@aurasmihai)


    Hi, latest pods update just crashed my website, not i have this error: There has been a critical error on this website.
    tried disabling all the plugins, in search for a incompatibility, still the same. the website is back online if i disable pods plugin, but i need it enabled, as it hold information

    please advise

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    Can you turn on WP_DEBUG in your config.php file and let us know what error it shows you (if any)?

    define( 'WP_DEBUG', true );

    Thread Starter Imageaurasmihai

    (@aurasmihai)

    Fatal error: Uncaught Error: Call to undefined function WP_Filesystem() in /public_html/wp-content/plugins/pods/includes/general.php:4686 Stack trace: #0 /public_html/wp-content/plugins/pods/includes/general.php(4720): pods_can_use_sessions() #1 /public_html/wp-content/plugins/pods/classes/PodsInit.php(510): pods_session_start() #2 /public_html/wp-includes/class-wp-hook.php(341): PodsInit->core(”) #3 /public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #4 public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #5 public_html/wp-settings.php(742): do_action(‘init’) #6 //public_html/wp-config.php(115): require_once(‘/home/c/p…’) #7 /public_html/wp-load.php(50): require_once(‘/p…’) #8 /home/c/public_html/wp-blog-header.php(13): require_once(‘/home/c/p…’) #9 /home/c/public_html/index.php(17): require(‘/home/c/p…’) #10 {main} thrown in /public_html/wp-content/plugins/pods/includes/general.php on line 4686

    Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    Here’s a wp-content/php-error.php file you can use to also expose the actual error: https://gist.github.com/sc0ttkclark/fc9ec138162b6bc20f0aa78e88f10282

    Is it showing that error everywhere including wp-login.php and the WP admin area? Or is it only on the front of the site?

    If you have admin area access, could you also please provide your Site Health information to help us determine what might be causing this problem? To get that, you can go to your WordPress dashboard area and go to: Tools > Site Health > Info, then Press the “Copy site info to clipboard” button, and paste the results here.

    Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    Thanks for the reply @aurasmihai, I have a release going out right now that will address this for you.

    Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    Pods 3.3.6 is now available with this fix.

    Thread Starter Imageaurasmihai

    (@aurasmihai)

    Hi,

    Unfortunately, this didn’t fix it, just changed the error line to /public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438

    • This reply was modified 1 month, 1 week ago by Imageaurasmihai.
    Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    I’m looking at what might cause that. Do you have any special filesystem configuration in your wp-config.php file?

    Thread Starter Imageaurasmihai

    (@aurasmihai)

    No, not as far as i know. there is nothing extra in wp-config

    Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    What exactly is the error you see for class-wp-filesystem-ftpext.php?

    Thread Starter Imageaurasmihai

    (@aurasmihai)

    this is the entire message

    Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/website/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php:438 Stack trace: #0 /home/website/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist(NULL, ‘/var/cpanel/php…’) #1 /home/website/public_html/wp-content/plugins/pods/includes/general.php(4692): WP_Filesystem_FTPext->exists(‘/var/cpanel/php…’) #2 /home/website/public_html/wp-content/plugins/pods/includes/general.php(4721): pods_can_use_sessions() #3 /home/website/public_html/wp-content/plugins/pods/classes/PodsInit.php(510): pods_session_start() #4 /home/website/public_html/wp-includes/class-wp-hook.php(341): PodsInit->core(”) #5 /home/website/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #6 /home/website/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #7 /home/website/public_html/wp-settings.php(742): do_action(‘init’) #8 /home/website/public_html/wp-config.php(114): require_once(‘/home/website/p…’) #9 /home/website/public_html/wp-load.php(50): require_once(‘/home/website/p…’) #10 /home/website/public_html/wp-blog-header.php(13): require_once(‘/home/website/p…’) #11 /home/website/public_html/index.php(17): require(‘/home/website/p…’) #12 {main} thrown in /home/website/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438

    Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    Perfect, thanks! I’ll look at this.

    With Pods deactivated, do you have trouble updating WordPress plugins or anything else on that hosting?

    Thread Starter Imageaurasmihai

    (@aurasmihai)

    With pods deactivated, all informations in shown correctly, except the ones added via the plugin

    Plugin Author ImageScott Kingsley Clark

    (@sc0ttkclark)

    Pods 3.3.7 is out and includes additional logic to prevent this. Thanks for your patience.

    Thread Starter Imageaurasmihai

    (@aurasmihai)

    Great! That fixed it 🙂

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

You must be logged in to reply to this topic.