Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/importechpy/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php:438
Stack trace:
#0 /home/importechpy/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist(NULL, '/home/importech...')
#1 /home/importechpy/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists('/home/importech...')
#2 /home/importechpy/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(238): WP_Filesystem_FTPext->is_file('/home/importech...')
#3 /home/importechpy/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(439): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_readable()
#4 [internal function]: Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->{closure:Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController::convert_paths_to_objects():437}('/home/importech...')
#5 /home/importechpy/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(436): array_map(Object(Closure), Array)
#6 /home/importechpy/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(338): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->convert_paths_to_objects(Array)
#7 /home/importechpy/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(351): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->get_files_by_id(Array)
#8 /home/importechpy/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(118): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->get_file_by_id('wc_get_related_...')
#9 /home/importechpy/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(62): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file('wc_get_related_...', '2025-09-03T19:0...', 1756926483)
#10 /home/importechpy/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(189): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle(1756926483, 'error', 'Invalid limit t...', Array)
#11 /home/importechpy/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(251): WC_Logger->log('error', 'Invalid limit t...', Array)
#12 /home/importechpy/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php(1084): WC_Logger->error('Invalid limit t...', Array)
#13 /home/importechpy/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2269): wc_get_related_products(2589, '4', Array)
#14 /home/importechpy/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2241): woocommerce_related_products(Array)
#15 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1127): woocommerce_output_related_products()
#16 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/module/woocommerce/RelatedProducts.php(716): et_builder_wc_render_module_template('woocommerce_out...', Array)
#17 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/module/woocommerce/RelatedProducts.php(987): ET_Builder_Module_Woocommerce_Related_Products::get_related_products(Array)
#18 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Module_Woocommerce_Related_Products->render(Array, '', 'et_pb_wc_relate...', '', '', '', '', '')
#19 /home/importechpy/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '', 'et_pb_wc_relate...')
#20 [internal function]: do_shortcode_tag(Array)
#21 /home/importechpy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_wc_tabs ...')
#22 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode('[et_pb_wc_tabs ...')
#23 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Column->render(Array, '[et_pb_wc_tabs ...', 'et_pb_column', '', '', '', '', '')
#24 /home/importechpy/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_wc_tabs ...', 'et_pb_column')
#25 [internal function]: do_shortcode_tag(Array)
#26 /home/importechpy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_column t...')
#27 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode('[et_pb_column t...')
#28 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Row->render(Array, '[et_pb_column t...', 'et_pb_row', '', '', '', '', '')
#29 /home/importechpy/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_column t...', 'et_pb_row')
#30 [internal function]: do_shortcode_tag(Array)
#31 /home/importechpy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_row _bui...')
#32 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode('[et_pb_row _bui...')
#33 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Section->render(Array, '[et_pb_row _bui...', 'et_pb_section', '', '', '', '', '')
#34 /home/importechpy/public_html/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_row _bui...', 'et_pb_section')
#35 [internal function]: do_shortcode_tag(Array)
#36 /home/importechpy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '<div class="et-...')
#37 /home/importechpy/public_html/wp-includes/class-wp-hook.php(324): do_shortcode('<div class="et-...')
#38 /home/importechpy/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<div class="et-...', Array)
#39 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/core.php(46): apply_filters('et_builder_rend...', '[et_pb_section ...')
#40 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(347): et_builder_render_layout('[et_pb_section ...')
#41 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(506): et_theme_builder_frontend_render_layout('et_body_layout', 159)
#42 /home/importechpy/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-body-template.php(7): et_theme_builder_frontend_render_body(159, true, 3619)
#43 /home/importechpy/public_html/wp-includes/template-loader.php(106): include('/home/importech...')
#44 /home/importechpy/public_html/wp-blog-header.php(19): require_once('/home/importech...')
#45 /home/importechpy/public_html/index.php(4): require('/home/importech...')
#46 {main}
thrown in
/home/importechpy/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line
438