Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 51772272 bytes) in /home/haianti/domains/haiantique.com/public_html/wp-includes/class-wpdb.php on line 2315

Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/haianti/domains/haiantique.com/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php:438 Stack trace: #0 /home/haianti/domains/haiantique.com/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist() #1 /home/haianti/domains/haiantique.com/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists() #2 /home/haianti/domains/haiantique.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(260): WP_Filesystem_FTPext->is_file() #3 /home/haianti/domains/haiantique.com/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/haianti/domains/haiantique.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(148): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write() #5 /home/haianti/domains/haiantique.com/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/haianti/domains/haiantique.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(164): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle() #7 /home/haianti/domains/haiantique.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-logger.php(211): WC_Logger->log() #8 /home/haianti/domains/haiantique.com/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/haianti/domains/haiantique.com/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438