Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php:438 Stack trace: #0 /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist() #1 /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists() #2 /home/sklep/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(260): WP_Filesystem_FTPext->is_file() #3 /home/sklep/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/sklep/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(135): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write() #5 /home/sklep/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/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(189): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle() #7 /home/sklep/public_html/wp-content/plugins/flexible-shipping/vendor_prefixed/wpdesk/wp-logs/src/WC/WooCommerceHandler.php(26): WC_Logger->log() #8 /home/sklep/public_html/wp-content/plugins/flexible-shipping/vendor_prefixed/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): FSVendor\WPDesk\Logger\WC\WooCommerceHandler->write() #9 /home/sklep/public_html/wp-content/plugins/flexible-shipping/vendor_prefixed/monolog/monolog/src/Monolog/Logger.php(323): FSVendor\Monolog\Handler\AbstractProcessingHandler->handle() #10 /home/sklep/public_html/wp-content/plugins/flexible-shipping/vendor_prefixed/monolog/monolog/src/Monolog/Logger.php(484): FSVendor\Monolog\Logger->addRecord() #11 /home/sklep/public_html/wp-content/plugins/flexible-shipping/vendor_prefixed/wpdesk/wp-wpdesk-fs-table-rate/src/Logger/ShippingMethodLogger.php(44): FSVendor\Monolog\Logger->log() #12 /home/sklep/public_html/wp-content/plugins/woocommerce-gls/vendor/psr/log/Psr/Log/LoggerTrait.php(127): FSVendor\WPDesk\FS\TableRate\Logger\ShippingMethodLogger->log() #13 /home/sklep/public_html/wp-content/plugins/flexible-shipping/src/WPDesk/FS/TableRate/ShippingMethod/RateCalculator.php(181): FSVendor\WPDesk\FS\TableRate\Logger\ShippingMethodLogger->debug() #14 /home/sklep/public_html/wp-content/plugins/flexible-shipping/src/WPDesk/FS/TableRate/ShippingMethodSingle.php(259): WPDesk\FS\TableRate\ShippingMethod\RateCalculator->calculate_rate() #15 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(257): WPDesk\FS\TableRate\ShippingMethodSingle->calculate_shipping() #16 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(348): WC_Shipping_Method->get_rates_for_package() #17 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(260): WC_Shipping->calculate_shipping_for_package() #18 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1430): WC_Shipping->calculate_shipping() #19 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(346): WC_Cart->calculate_shipping() #20 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(857): WC_Cart_Totals->get_shipping_from_cart() #21 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(151): WC_Cart_Totals->calculate_shipping_totals() #22 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate() #23 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1408): WC_Cart_Totals->__construct() #24 /home/sklep/public_html/wp-includes/class-wp-hook.php(322): WC_Cart->calculate_totals() #25 /home/sklep/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #26 /home/sklep/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #27 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1286): do_action() #28 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(842): WC_Cart->add_to_cart() #29 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(814): WC_Form_Handler::add_to_cart_handler_simple() #30 /home/sklep/public_html/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_action() #31 /home/sklep/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #32 /home/sklep/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #33 /home/sklep/public_html/wp-settings.php(717): do_action() #34 /home/sklep/public_html/wp-config.php(88): require_once('...') #35 /home/sklep/public_html/wp-load.php(50): require_once('...') #36 /home/sklep/public_html/wp-blog-header.php(13): require_once('...') #37 /home/sklep/public_html/index.php(17): require('...') #38 {main} thrown in /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438

Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php:438 Stack trace: #0 /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist() #1 /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists() #2 /home/sklep/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(260): WP_Filesystem_FTPext->is_file() #3 /home/sklep/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/sklep/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(135): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write() #5 /home/sklep/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/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(189): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle() #7 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(236): WC_Logger->log() #8 /home/sklep/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(379): WC_Logger->critical() #9 [internal function]: WooCommerce->log_errors() #10 {main} thrown in /home/sklep/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438