Hi, I’m using Generate Blocks for the very first time, and I’m having problems getting it to work as I’m testing it locally on a LAMP stack. I can set up a Container block and create a Grid in it, and they will show up in the preview tab, but the actual page generated will always trigger an error message that reads “There has been a critical error on this website.” The Apache error logs give me this:
[Fri Jan 20 21:07:41.577374 2023] [php:error] [pid 1057] [client 127.0.0.1:36460] PHP Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/html/mag/wp-admin/includes/class-wp-filesystem-ftpext.php:212\nStack trace:\n#0 /var/www/html/mag/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput()\n#1 /var/www/html/mag/wp-content/plugins/generateblocks/includes/class-enqueue-css.php(232): WP_Filesystem_FTPext->put_contents()\n#2 /var/www/html/mag/wp-content/plugins/generateblocks/includes/class-enqueue-css.php(112): GenerateBlocks_Enqueue_CSS->make_css()\n#3 /var/www/html/mag/wp-content/plugins/generateblocks/includes/class-enqueue-css.php(140): GenerateBlocks_Enqueue_CSS->mode()\n#4 /var/www/html/mag/wp-includes/class-wp-hook.php(308): GenerateBlocks_Enqueue_CSS->enqueue_dynamic_css()\n#5 /var/www/html/mag/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#6 /var/www/html/mag/wp-includes/plugin.php(517): WP_Hook->do_action()\n#7 /var/www/html/mag/wp-includes/script-loader.php(2180): do_action()\n#8 /var/www/html/mag/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()\n#9 /var/www/html/mag/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#10 /var/www/html/mag/wp-includes/plugin.php(517): WP_Hook->do_action()\n#11 /var/www/html/mag/wp-includes/general-template.php(3043): do_action()\n#12 /var/www/html/mag/wp-content/themes/generatepress/header.php(16): wp_head()\n#13 /var/www/html/mag/wp-includes/template.php(783): require_once(‘…’)\n#14 /var/www/html/mag/wp-includes/template.php(718): load_template()\n#15 /var/www/html/mag/wp-includes/general-template.php(48): locate_template()\n#16 /var/www/html/mag/wp-content/themes/generatepress/page.php(17): get_header()\n#17 /var/www/html/mag/wp-includes/template-loader.php(106): include(‘…’)\n#18 /var/www/html/mag/wp-blog-header.php(19): require_once(‘…’)\n#19 /var/www/html/mag/index.php(17): require(‘…’)\n#20 {main}\n thrown in /var/www/html/mag/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212, referer: http://localhost/mag/wp-admin/post.php?post=14&action=editThanks for any advice on what to do!