Title: Error while activating pligin
Last modified: August 1, 2024

---

# Error while activating pligin

 *  Resolved [MadhuriRahod](https://wordpress.org/support/users/madhurirahod/)
 * (@madhurirahod)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-while-activating-pligin/)
 * **Fatal error**: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be 
   of type FTP\Connection, null given in /var/www/html/wp-admin/includes/class-wp-
   filesystem-ftpext.php:438 Stack trace: #0 /var/www/html/wp-admin/includes/class-
   wp-filesystem-ftpext.php(438): ftp_nlist(NULL, ‘/var/www/html/w…’) #1 /var/www/
   html/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext-
   >exists(‘/var/www/html/w…’) #2 /var/www/html/wp-admin/includes/class-wp-filesystem-
   ftpext.php(399): WP_Filesystem_FTPext->is_file(‘/var/www/html/w…’) #3 /var/www/
   html/wp-content/plugins/otter-blocks/inc/server/class-dashboard-server.php(193):
   WP_Filesystem_FTPext->delete(‘/var/www/html/w…’, true) #4 /var/www/html/wp-content/
   plugins/otter-blocks/inc/server/class-dashboard-server.php(156): ThemeIsle\GutenbergBlocks\
   Server\Dashboard_Server::delete_files(‘/var/www/html/w…’) #5 /var/www/html/wp-
   content/plugins/otter-blocks/inc/class-main.php(534): ThemeIsle\GutenbergBlocks\
   Server\Dashboard_Server::regenerate_styles() #6 /var/www/html/wp-includes/class-
   wp-hook.php(324): ThemeIsle\GutenbergBlocks\Main->after_update_migration(”) #
   7 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL,
   Array) #8 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#
   9 /var/www/html/wp-settings.php(695): do_action(‘init’) #10 /var/www/html/wp-
   config.php(109): require_once(‘/var/www/html/w…’) #11 /var/www/html/wp-load.php(
   50): require_once(‘/var/www/html/w…’) #12 /var/www/html/wp-admin/admin.php(34):
   require_once(‘/var/www/html/w…’) #13 /var/www/html/wp-admin/plugins.php(10): 
   require_once(‘/var/www/html/w…’) #14 {main} thrown in **/var/www/html/wp-admin/
   includes/class-wp-filesystem-ftpext.php**
 * I am getting this issue with latest version.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [AndreeaR](https://wordpress.org/support/users/andreearadacina21/)
 * (@andreearadacina21)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-while-activating-pligin/#post-17927006)
 * Hi [@madhurirahod](https://wordpress.org/support/users/madhurirahod/),
 * Thank you for using Otter and for reaching out!
 * The error you’re encountering suggests that the `ftp_nlist()` function is being
   called with a `null` value instead of a valid FTP connection. This typically 
   means that the FTP connection has not been properly established before attempting
   to perform operations on it.
 * You should consider contacting your hosting provider to address this issue, as
   the Otter Blocks plugin does not generate it.
 * Let us know how it goes!
 * Best regards,
 * Andreea
 *  Thread Starter [MadhuriRahod](https://wordpress.org/support/users/madhurirahod/)
 * (@madhurirahod)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-while-activating-pligin/#post-17928565)
 * I am getting this issue for this plugin only not any other plugin.. n that too
   while activating it. We updated wordpress also is it because of that ? why particular
   plugin only have issue.
 *  Plugin Support [AndreeaR](https://wordpress.org/support/users/andreearadacina21/)
 * (@andreearadacina21)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/error-while-activating-pligin/#post-17936623)
 * Hey [@madhurirahod](https://wordpress.org/support/users/madhurirahod/),
 * The last version of WordPress works well with Otter Blocks, so this shouldn’t
   be a problem. As I previously mentioned, the issue was not replicable on my end.
   Additionally, we didn’t receive any other similar reports.
 * Have you discussed this with your hosting provider yet?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error while activating pligin’ is closed to new replies.

 * ![](https://ps.w.org/otter-blocks/assets/icon-256x256.gif?rev=3452114)
 * [Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE](https://wordpress.org/plugins/otter-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/otter-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/otter-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/otter-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/otter-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/otter-blocks/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [AndreeaR](https://wordpress.org/support/users/andreearadacina21/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/error-while-activating-pligin/#post-17936623)
 * Status: resolved