Fatal error
-
Dear Support,
Our client uses this plugin.
With our hosting we ‘lock’ the website by changing core file-permissions and ownership, leaving only the folders which need to be updated (uploads, etc) with write permissions so as to not affect the day-to-day operation of the website. We also disable automatic updates so that we can control when they are updated.
With the ‘lock’ enabled, each morning the website reports ‘There has been a critical error on this website.’ and with debug enabled, I can see the full error:
Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /path/to/website/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:212 Stack trace: #0 /path/to/website/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput(NULL, ‘/home/sites/lea…’, Resource id #1969, 2) #1 /path/to/website/wordpress/wp-content/plugins/ultimate-addons-for-gutenberg/lib/gutenberg-templates/inc/classes/ast-block-templates-notices.php(36): WP_Filesystem_FTPext->put_contents(‘/home/sites/lea…’, ”) #2 /path/to/website/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 /path/to/website/wordpress/wp-includes/class-wp-hook.php(324): Gutenberg_Templates\Ast_Block_Plugin_Loader->load_classes(”) #4 /path/to/website/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(1, Array) #5 /path/to/website/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /path/to/website/wordpress/wp-settings.php(722): do_action(‘wp_loaded’) #7 /path/to/website/wordpress/wp-config.php(125): require_once(‘/home/sites/lea…’) #8 /path/to/website/wordpress/wp-load.php(50): require_once(‘/home/sites/lea…’) #9 /path/to/website/wordpress/wp-blog-header.php(13): require_once(‘/home/sites/lea…’) #10 /path/to/website/wordpress/index.php(17): require(‘/home/sites/lea…’) #11 {main} thrown in /path/to/website/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212
What is the plugin trying to do to generate this error each morning?
Can we disable what ever it is trying to do so as to not encounter this error?
Can you advise what we can do to prevent this error from occurring.
Thanks
RobThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.