• Resolved Leavenworth

    (@leavenworth)


    WSoD following plugin activation. Does plugin require access to FTP? Here’s the output from apache error log:

    PHP Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/mysite.com/wp-admin/includes/class-wp-filesystem-ftpext.php:146\n

    Stack trace:\n#0 /var/www/mysite.com/wp-admin/includes/class-wp-filesystem-ftpext.php(146): ftp_fget()\n#1 /var/www/mysite.com/wp-content/plugins/ultimate-addons-for-gutenberg/lib/gutenberg-templates/classes/class-ast-block-templates-sync-library.php(133): WP_Filesystem_FTPext->get_contents()\n#2 /var/www/mysite.com/wp-content/plugins/ultimate-addons-for-gutenberg/lib/gutenberg-templates/classes/class-ast-block-templates-sync-library.php(117): Ast_Block_Templates_Sync_Library->set_default_assets()\n#3 /var/www/mysite.com/wp-includes/class-wp-hook.php(308): Ast_Block_Templates_Sync_Library->setup_templates()\n#4 /var/www/mysite.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#5 /var/www/mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /var/www/mysite.com/wp-admin/admin-header.php(163): do_action()\n#7 /var/www/mysite.com/wp-admin/options-general.php(64): require_once(‘…’)\n#8 {main}\n thrown in /var/www/mysite.com/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @leavenworth,

    Sorry for the inconvenience caused to you.

    I am not able to replicate the issue. I would request you open a ticket with the support team here: https://wpspectra.com/support/ so that they can check it further and assist you.

    Looking forward to hearing from you.

    Have a nice day!

    Thread Starter Leavenworth

    (@leavenworth)

    Hi @mohsinbsf

    For what it’s worth, the following code, added to wp-config.php, allowed me to enable Spectra. I’m not clear on what it does, or if there’s a better fix, so opening a ticket is probably still a good idea.

    Thank you.

    if ( ! defined( 'FS_METHOD' ) ) define( 'FS_METHOD', 'direct' );
    Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @leavenworth,

    ‘FS_METHOD’ is a good solution. I have searched for a guide for you that can help you understand this constant. Here is the link to the guide.

    Please feel free to open a new thread if you face any other issues.

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘FTP null’ is closed to new replies.