Fatal error: Uncaught TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php on line 580 TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php on line 580 Call Stack: 0.0000 360320 1. {main}() /volume2/web/atmt2/index.php:0 0.0000 360624 2. require('/volume2/web/atmt2/wp-blog-header.php') /volume2/web/atmt2/index.php:17 0.3930 27619488 3. wp($query_vars = ???) /volume2/web/atmt2/wp-blog-header.php:16 0.3930 27619488 4. WP->main($query_args = '') /volume2/web/atmt2/wp-includes/functions.php:1343 0.3996 27851808 5. do_action_ref_array($hook_name = 'wp', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = 'sitemap=index'; public $request = 'wp-sitemap.xml'; public $matched_rule = '^wp-sitemap\\.xml$'; public $matched_query = 'sitemap=index'; public $did_permalink = TRUE }]) /volume2/web/atmt2/wp-includes/class-wp.php:838 0.3996 27851808 6. WP_Hook->do_action($args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = 'sitemap=index'; public $request = 'wp-sitemap.xml'; public $matched_rule = '^wp-sitemap\\.xml$'; public $matched_query = 'sitemap=index'; public $did_permalink = TRUE }]) /volume2/web/atmt2/wp-includes/plugin.php:570 0.3996 27851808 7. WP_Hook->apply_filters($value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = 'sitemap=index'; public $request = 'wp-sitemap.xml'; public $matched_rule = '^wp-sitemap\\.xml$'; public $matched_query = 'sitemap=index'; public $did_permalink = TRUE }]) /volume2/web/atmt2/wp-includes/class-wp-hook.php:365 0.4027 28178848 8. Astra_Cache_Base->init_cache(class WP { public $public_query_vars = [0 => 'rating_filter', 1 => 'filter_stock_status', 2 => 'min_price', 3 => 'max_price', 4 => 'm', 5 => 'p', 6 => 'posts', 7 => 'w', 8 => 'cat', 9 => 'withcomments', 10 => 'withoutcomments', 11 => 's', 12 => 'search', 13 => 'exact', 14 => 'sentence', 15 => 'calendar', 16 => 'page', 17 => 'paged', 18 => 'more', 19 => 'tb', 20 => 'pb', 21 => 'author', 22 => 'order', 23 => 'orderby', 24 => 'year', 25 => 'monthnum', 26 => 'day', 27 => 'hour', 28 => 'minute', 29 => 'second', 30 => 'name', 31 => 'category_name', 32 => 'tag', 33 => 'feed', 34 => 'author_name', 35 => 'pagename', 36 => 'page_id', 37 => 'error', 38 => 'attachment', 39 => 'attachment_id', 40 => 'subpost', 41 => 'subpost_id', 42 => 'preview', 43 => 'robots', 44 => 'favicon', 45 => 'taxonomy', 46 => 'term', 47 => 'cpage', 48 => 'post_type', 49 => 'embed', 50 => 'post_format', 51 => 'e-floating-buttons', 52 => 'elementor_library', 53 => 'wc/file/transient', 54 => 'wc-api', 55 => 'product_brand', 56 => 'product_cat', 57 => 'product_tag', 58 => 'product', 59 => 'rest_route', 60 => 'sitemap', 61 => 'sitemap-subtype', 62 => 'sitemap-stylesheet', 63 => 'astra-portfolio', 64 => 'astra-portfolio-categories', 65 => 'astra-portfolio-other-categories', 66 => 'astra-portfolio-tags', 67 => 'order-pay', 68 => 'order-received', 69 => 'orders', 70 => 'view-order', 71 => 'downloads', 72 => 'edit-account', 73 => 'edit-address', 74 => 'payment-methods', 75 => 'lost-password', 76 => 'customer-logout', 77 => 'add-payment-method', 78 => 'delete-payment-method', 79 => 'set-default-payment-method', 80 => 'wc-auth-version', 81 => 'wc-auth-route', 82 => 'order-pay', 83 => 'order-received', 84 => 'orders', 85 => 'view-order', 86 => 'downloads', 87 => 'edit-account', 88 => 'edit-address', 89 => 'payment-methods', 90 => 'lost-password', 91 => 'customer-logout', 92 => 'add-payment-method', 93 => 'delete-payment-method', 94 => 'set-default-payment-method', 95 => 'wc-transient-file-name', 96 => 'wc-api-version', 97 => 'wc-api-route', 98 => 'wc-api', 99 => 'checkout-link', 100 => 'min_price', 101 => 'max_price', 102 => 'rating_filter', 103 => 'filter_stock_status', 104 => 'brands', 105 => 'categories', 106 => 'tags']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['sitemap' => 'index']; public $query_string = 'sitemap=index'; public $request = 'wp-sitemap.xml'; public $matched_rule = '^wp-sitemap\\.xml$'; public $matched_query = 'sitemap=index'; public $did_permalink = TRUE }) /volume2/web/atmt2/wp-includes/class-wp-hook.php:341 0.4029 28180736 9. Astra_Addon_Filesystem->maybe_create_uploads_dir($dir = '/volume2/web/atmt2/wp-content/uploads/astra/') /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/cache/class-astra-cache-base.php:102 0.4029 28180784 10. WP_Filesystem_FTPext->mkdir($path = '/volume2/web/atmt2/wp-content/uploads/astra/', $chmod = ???, $chown = ???, $chgrp = ???) /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/class-astra-addon-filesystem.php:108 0.4029 28180864 11. ftp_mkdir($ftp = NULL, $directory = '/volume2/web/atmt2/wp-content/uploads/astra') /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:580 Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438 TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438 Call Stack: 0.4041 28174696 1. WooCommerce->log_errors() /volume2/web/atmt2/wp-content/plugins/woocommerce/includes/class-woocommerce.php:0 0.4041 28179288 2. WC_Logger->critical($message = 'Uncaught TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:580', $context = ['source' => 'fatal-errors', 'error' => ['type' => 1, 'file' => '/volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php', 'line' => 580], 'remote-logging' => TRUE, 'backtrace' => [0 => '', 1 => '#0 /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php(580): ftp_mkdir(NULL, \'/volume2/web/at...\')', 2 => '#1 /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/class-astra-addon-filesystem.php(108): WP_Filesystem_FTPext->mkdir(\'/volume2/web/at...\')', 3 => '#2 /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/cache/class-astra-cache-base.php(102): Astra_Addon_Filesystem->maybe_create_uploads_dir(\'/volume2/web/at...\')', 4 => '#3 /volume2/web/atmt2/wp-includes/class-wp-hook.php(341): Astra_Cache_Base->init_cache(Object(WP))', 5 => '#4 /volume2/web/atmt2/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)', 6 => '#5 /volume2/web/atmt2/wp-includes/plugin.php(570): WP_Hook->do_action(Array)', 7 => '#6 /volume2/web/atmt2/wp-includes/class-wp.php(838): do_action_ref_array(\'wp\', Array)', 8 => '#7 /volume2/web/atmt2/wp-includes/functions.php(1343): WP->main(\'\')', 9 => '#8 /volume2/web/atmt2/wp-blog-header.php(16): wp()', 10 => '#9 /volume2/web/atmt2/index.php(17): require(\'/volume2/web/at...\')', 11 => '#10 {main}', 12 => 'thrown']]) /volume2/web/atmt2/wp-content/plugins/woocommerce/includes/class-woocommerce.php:482 0.4042 28179288 3. WC_Logger->log($level = 'critical', $message = 'Uncaught TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:580', $context = ['source' => 'fatal-errors', 'error' => ['type' => 1, 'file' => '/volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php', 'line' => 580], 'remote-logging' => TRUE, 'backtrace' => [0 => '', 1 => '#0 /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php(580): ftp_mkdir(NULL, \'/volume2/web/at...\')', 2 => '#1 /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/class-astra-addon-filesystem.php(108): WP_Filesystem_FTPext->mkdir(\'/volume2/web/at...\')', 3 => '#2 /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/cache/class-astra-cache-base.php(102): Astra_Addon_Filesystem->maybe_create_uploads_dir(\'/volume2/web/at...\')', 4 => '#3 /volume2/web/atmt2/wp-includes/class-wp-hook.php(341): Astra_Cache_Base->init_cache(Object(WP))', 5 => '#4 /volume2/web/atmt2/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)', 6 => '#5 /volume2/web/atmt2/wp-includes/plugin.php(570): WP_Hook->do_action(Array)', 7 => '#6 /volume2/web/atmt2/wp-includes/class-wp.php(838): do_action_ref_array(\'wp\', Array)', 8 => '#7 /volume2/web/atmt2/wp-includes/functions.php(1343): WP->main(\'\')', 9 => '#8 /volume2/web/atmt2/wp-blog-header.php(16): wp()', 10 => '#9 /volume2/web/atmt2/index.php(17): require(\'/volume2/web/at...\')', 11 => '#10 {main}', 12 => 'thrown']]) /volume2/web/atmt2/wp-content/plugins/woocommerce/includes/class-wc-logger.php:236 0.4052 28181800 4. Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle($timestamp = 1773827569, $level = 'critical', $message = 'Uncaught TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:580', $context = ['source' => 'fatal-errors', 'error' => ['type' => 1, 'file' => '/volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php', 'line' => 580], 'remote-logging' => TRUE, 'backtrace' => [0 => '', 1 => '#0 /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php(580): ftp_mkdir(NULL, \'/volume2/web/at...\')', 2 => '#1 /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/class-astra-addon-filesystem.php(108): WP_Filesystem_FTPext->mkdir(\'/volume2/web/at...\')', 3 => '#2 /volume2/web/atmt2/wp-content/plugins/astra-addon/classes/cache/class-astra-cache-base.php(102): Astra_Addon_Filesystem->maybe_create_uploads_dir(\'/volume2/web/at...\')', 4 => '#3 /volume2/web/atmt2/wp-includes/class-wp-hook.php(341): Astra_Cache_Base->init_cache(Object(WP))', 5 => '#4 /volume2/web/atmt2/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)', 6 => '#5 /volume2/web/atmt2/wp-includes/plugin.php(570): WP_Hook->do_action(Array)', 7 => '#6 /volume2/web/atmt2/wp-includes/class-wp.php(838): do_action_ref_array(\'wp\', Array)', 8 => '#7 /volume2/web/atmt2/wp-includes/functions.php(1343): WP->main(\'\')', 9 => '#8 /volume2/web/atmt2/wp-blog-header.php(16): wp()', 10 => '#9 /volume2/web/atmt2/index.php(17): require(\'/volume2/web/at...\')', 11 => '#10 {main}', 12 => 'thrown']]) /volume2/web/atmt2/wp-content/plugins/woocommerce/includes/class-wc-logger.php:189 0.4053 28183376 5. Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file($source = 'fatal-errors', $text = '2026-03-18T09:52:49+00:00 CRITICAL Uncaught TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:580 CONTEXT: {"error":{"type":1,"file":"/volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php","line":580},"remote-logging":true,"backtrace":["","#0 /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php(580): ftp_mkdir(NULL, \'/volume2/web/at...\')","#1 /volume2/web/atmt2/wp-content/p'..., $time = 1773827569) /volume2/web/atmt2/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php:62 0.4058 28183856 6. Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write($text = '2026-03-18T09:52:49+00:00 CRITICAL Uncaught TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\\Connection, null given in /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:580 CONTEXT: {"error":{"type":1,"file":"/volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php","line":580},"remote-logging":true,"backtrace":["","#0 /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php(580): ftp_mkdir(NULL, \'/volume2/web/at...\')","#1 /volume2/web/atmt2/wp-content/p'...) /volume2/web/atmt2/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php:135 0.4058 28183856 7. Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_writable() /volume2/web/atmt2/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php:437 0.4059 28183856 8. WP_Filesystem_FTPext->is_file($file = '/volume2/web/atmt2/wp-content/uploads/wc-logs/fatal-errors-2026-03-18-bc9256494d0b8db385732336da618672.log') /volume2/web/atmt2/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php:254 0.4059 28183856 9. WP_Filesystem_FTPext->exists($path = '/volume2/web/atmt2/wp-content/uploads/wc-logs/fatal-errors-2026-03-18-bc9256494d0b8db385732336da618672.log') /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:456 0.4059 28183856 10. ftp_nlist($ftp = NULL, $directory = '/volume2/web/atmt2/wp-content/uploads/wc-logs/fatal-errors-2026-03-18-bc9256494d0b8db385732336da618672.log') /volume2/web/atmt2/wp-admin/includes/class-wp-filesystem-ftpext.php:438