Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php:438
Stack trace:
#0 /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist()
#1 /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists()
#2 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(260): WP_Filesystem_FTPext->is_file()
#3 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(424): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_writable()
#4 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(148): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write()
#5 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(60): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file()
#6 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(164): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle()
#7 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php(158): WC_Logger->log()
#8 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/paypal/class-wcs-paypal.php(642): WC_Gateway_Paypal::log()
#9 /home/fdnlife/public_html/wp-includes/class-wp-hook.php(326): WCS_PayPal::log_api_requests()
#10 /home/fdnlife/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /home/fdnlife/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/paypal/includes/abstracts/abstract-wcs-sv-api-base.php(259): do_action()
#13 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/paypal/includes/abstracts/abstract-wcs-sv-api-base.php(176): WCS_SV_API_Base->broadcast_request()
#14 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/paypal/includes/abstracts/abstract-wcs-sv-api-base.php(113): WCS_SV_API_Base->handle_response()
#15 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/paypal/includes/class-wcs-paypal-reference-transaction-api.php(123): WCS_SV_API_Base->perform_request()
#16 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/paypal/class-wcs-paypal.php(176): WCS_PayPal_Reference_Transaction_API->are_reference_transactions_enabled()
#17 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/paypal/class-wcs-paypal.php(704): WCS_PayPal::are_reference_transactions_enabled()
#18 /home/fdnlife/public_html/wp-includes/class-wp-hook.php(324): WCS_PayPal::maybe_remove_paypal_standard()
#19 /home/fdnlife/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#20 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(333): apply_filters()
#21 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/gateways/class-wc-subscriptions-core-payment-gateways.php(158): WC_Payment_Gateways->get_available_payment_gateways()
#22 /home/fdnlife/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-cart-validator.php(37): WC_Subscriptions_Core_Payment_Gateways::one_gateway_supports()
#23 /home/fdnlife/public_html/wp-includes/class-wp-hook.php(324): WC_Subscriptions_Cart_Validator::maybe_empty_cart()
#24 /home/fdnlife/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#25 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(832): apply_filters()
#26 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(806): WC_Form_Handler::add_to_cart_handler_simple()
#27 /home/fdnlife/public_html/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_action()
#28 /home/fdnlife/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#29 /home/fdnlife/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#30 /home/fdnlife/public_html/wp-settings.php(665): do_action()
#31 /home/fdnlife/public_html/wp-config.php(94): require_once('...')
#32 /home/fdnlife/public_html/wp-load.php(50): require_once('...')
#33 /home/fdnlife/public_html/wp-blog-header.php(13): require_once('...')
#34 /home/fdnlife/public_html/index.php(17): require('...')
#35 {main}
thrown in /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438
WordPress › Error
Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php:438
Stack trace:
#0 /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist()
#1 /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists()
#2 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(260): WP_Filesystem_FTPext->is_file()
#3 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(424): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_writable()
#4 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(148): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write()
#5 /home/fdnlife/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(60): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file()
#6 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(164): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle()
#7 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(211): WC_Logger->log()
#8 /home/fdnlife/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(325): WC_Logger->critical()
#9 [internal function]: WooCommerce->log_errors()
#10 {main}
thrown in /home/fdnlife/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438