• Resolved ahuei

    (@gas1123)


    [03-Jun-2025 12:54:29 UTC] PHP Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/example.net/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:212
    Stack trace: 0 /var/www/example.net/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput() 1 /var/www/example.net/wordpress/wp-content/plugins/ultimate-addons-for-gutenberg/lib/gutenberg-templates/inc/classes/ast-block-templates-notices.php(36): WP_Filesystem_FTPext->put_contents() 2 /var/www/example.net/wordpress/wp-content/plugins/ultimate-addons-for-gutenberg/lib/gutenberg-templates/ast-block-plugin-loader.php(106): Gutenberg_Templates\Inc\Classes\Ast_Block_Templates_Notices->has_file_read_write() 3 /var/www/example.net/wordpress/wp-includes/class-wp-hook.php(324): Gutenberg_Templates\Ast_Block_Plugin_Loader->load_classes() 4 /var/www/example.net/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 5 /var/www/example.net/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() 6 /var/www/example.net/wordpress/wp-settings.php(749): do_action() 7 /var/www/example.net/wordpress/wp-config.php(43): require_once(‘…’) 8 /var/www/example.net/wordpress/wp-load.php(50): require_once(‘…’) 9 /var/www/example.net/wordpress/wp-cron.php(46): require_once(‘…’) 10 {main}

    thrown in /var/www/example.net/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212

Viewing 1 replies (of 1 total)
  • Mohsin Ghouri

    (@mohsinbsf)

    Hi @gas1123,

    Thanks for getting in touch with us.

    You can fix the issue by adding the below code in wp-config.php

    define( ‘FS_METHOD’, ‘direct’ );

    Please try and let me know how it goes.

    Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘PHP Fatal error pls fix support PHP8.3.6’ is closed to new replies.