- This topic has 3 replies, 2 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
January 12, 2023 at 7:44 pm #2493662
Joe
Hello,
I recently tried to install GeneratePress on a server running PHP 8.1 and 8.0.6, which worked fine. However, after installing a site from the library, I received a critical error, as seen below. Once we changed the PHP version to 7.4, the error remained as a warning but allowed the site to function. I would ideally like to use 8.0 or 8.1. It seems to be related to the GenerateBlocks plugin, upon deactivating that plugin, the site, while looking rather strange, functioned.
I would appreciate any help that could be given, thank you very much!
Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type resource, null given in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php:212 Stack trace: #0 /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput(NULL, '/var/www/html/w...', Resource id #12, 2) #1 /var/www/html/wp-content/plugins/generateblocks/includes/class-enqueue-css.php(232): WP_Filesystem_FTPext->put_contents('/var/www/html/w...', '.gb-container ....', 420) #2 /var/www/html/wp-content/plugins/generateblocks/includes/class-enqueue-css.php(112): GenerateBlocks_Enqueue_CSS->make_css() #3 /var/www/html/wp-content/plugins/generateblocks/includes/class-enqueue-css.php(140): GenerateBlocks_Enqueue_CSS->mode() #4 /var/www/html/wp-includes/class-wp-hook.php(308): GenerateBlocks_Enqueue_CSS->enqueue_dynamic_css('') #5 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /var/www/html/wp-includes/script-loader.php(2180): do_action('wp_enqueue_scri...') #8 /var/www/html/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts('') #9 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /var/www/html/wp-includes/general-template.php(3043): do_action('wp_head') #12 /var/www/html/wp-content/themes/generatepress/header.php(16): wp_head() #13 /var/www/html/wp-includes/template.php(783): require_once('/var/www/html/w...') #14 /var/www/html/wp-includes/template.php(718): load_template('/var/www/html/w...', true, Array) #15 /var/www/html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #16 /var/www/html/wp-content/themes/generatepress/page.php(17): get_header() #17 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...') #18 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #19 /var/www/html/index.php(17): require('/var/www/html/w...') #20 {main} thrown in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212January 13, 2023 at 3:34 am #2494034David
StaffCustomer SupportHi there,
that issue has been fixed in the latests version of GenerateBlocks 1.7 which is currently in ALpha:
https://generateblocks.com/flexbox-sizing-tabs-accordions-more/
More info on the original issue and bug fix here:
January 19, 2023 at 1:05 pm #2502080Joe
Thank you very much, David! Sorry, I thought I had already responded, seems I forgot to submit.
January 20, 2023 at 3:30 am #2502626David
StaffCustomer SupportGlad to be of help
-
AuthorPosts
- You must be logged in to reply to this topic.