Critical error in latest update – crash my WP
-
I updated to to the newest Yoast SEO 21.9 in my WordPress. After this the wordpress chrashed and gave the error log below:
[Tue Jan 23 14:38:04.614615 2024] [php:error] [pid 9026] [client 87.92.171.122:55787] PHP Fatal error:? Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type resource, null given in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php:438\nStack trace:\n#0 /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist()\n#1 /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists()\n#2 /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php(757): WP_Filesystem_FTPext->is_file()\n#3 /var/www/html/wp-admin/includes/file.php(2772): WP_Filesystem_FTPext->dirlist()\n#4 /var/www/html/wp-content/plugins/wordpress-seo/wp-seo-main.php(361): wp_opcache_invalidate_directory()\n#5 /var/www/html/wp-includes/class-wp-hook.php(324): wpseo_init()\n#6 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#7 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#8 /var/www/html/wp-settings.php(506): do_action()\n#9 /var/www/html/wp-config.php(96): require_once(‘…’)\n#10 /var/www/html/wp-load.php(50): require_once(‘…’)\n#11 /var/www/html/wp-admin/admin-ajax.php(22): require_once(‘…’)\n#12 {main}\n? thrown in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438, referer: https://uniwaves.com/wp-admin/post.php?post=3061&action=editRemoving the plugin on Linux command line helped and no problem anymore. Reinstalling the plugin in WordPress and it works again.
I do not know what happened in update. I keep the updated plugin if developers want to see it.
The page I need help with: [log in to see the link]
- The topic ‘Critical error in latest update – crash my WP’ is closed to new replies.