Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/html/wp/wp-admin/includes/class-wp-filesystem-ftpext.php:438
Stack trace:
#0 /var/www/html/wp/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist(NULL, '/var/www/html/w...')
#1 /var/www/html/wp/wp-admin/includes/class-wp-filesystem-base.php(231): WP_Filesystem_FTPext->exists('/var/www/html/w...')
#2 /var/www/html/wp/wp-admin/includes/class-wp-filesystem-base.php(79): WP_Filesystem_Base->find_folder('/var/www/html/w...')
#3 /var/www/html/wp/wp-content/themes/minimalist-newspaper/webfont-loader/wptt-webfont-loader.php(535): WP_Filesystem_Base->wp_content_dir()
#4 /var/www/html/wp/wp-content/themes/minimalist-newspaper/webfont-loader/wptt-webfont-loader.php(576): WPTT_WebFont_Loader->get_base_path()
#5 /var/www/html/wp/wp-content/themes/minimalist-newspaper/webfont-loader/wptt-webfont-loader.php(484): WPTT_WebFont_Loader->get_fonts_folder()
#6 /var/www/html/wp/wp-content/themes/minimalist-newspaper/webfont-loader/wptt-webfont-loader.php(523): WPTT_WebFont_Loader->get_local_stylesheet_path()
#7 /var/www/html/wp/wp-content/themes/minimalist-newspaper/webfont-loader/wptt-webfont-loader.php(142): WPTT_WebFont_Loader->local_file_exists()
#8 /var/www/html/wp/wp-content/themes/minimalist-newspaper/webfont-loader/wptt-webfont-loader.php(695): WPTT_WebFont_Loader->get_url()
#9 /var/www/html/wp/wp-content/themes/minimalist-newspaper/functions.php(20): wptt_get_webfont_url('https://fonts.g...')
#10 /var/www/html/wp/wp-includes/class-wp-hook.php(324): minimalist_newspaper_enqueue_assets('')
#11 /var/www/html/wp/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#12 /var/www/html/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#13 /var/www/html/wp/wp-includes/script-loader.php(2272): do_action('wp_enqueue_scri...')
#14 /var/www/html/wp/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('')
#15 /var/www/html/wp/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#16 /var/www/html/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#17 /var/www/html/wp/wp-includes/general-template.php(3064): do_action('wp_head')
#18 /var/www/html/wp/wp-content/themes/newspaperly/header.php(19): wp_head()
#19 /var/www/html/wp/wp-includes/template.php(810): require_once('/var/www/html/w...')
#20 /var/www/html/wp/wp-includes/template.php(745): load_template('/var/www/html/w...', true, Array)
#21 /var/www/html/wp/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#22 /var/www/html/wp/wp-content/themes/newspaperly/index.php(15): get_header()
#23 /var/www/html/wp/wp-includes/template-loader.php(106): include('/var/www/html/w...')
#24 /var/www/html/wp/wp-blog-header.php(19): require_once('/var/www/html/w...')
#25 /var/www/html/wp/index.php(17): require('/var/www/html/w...')
#26 {main}
thrown in /var/www/html/wp/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438