• Hello,

    From astra version 4.6.0 I get a fatal error when i go to Astra > Dashboard and Astra > Spectra
    Same with versions 4.6.1, 4.6.2 and 4.6.3
    Even with a wordpress fresh install I get the same fatal error.

    Here is the error:
    Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/0/d/vente.dietetiquetuina.fr/www/wp-admin/includes/class-wp-filesystem-ftpext.php:438 Stack trace: #0 /home/0/d/vente.dietetiquetuina.fr/www/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist(NULL, ‘/home/0/d/vente…’) #1 /home/0/d/vente.dietetiquetuina.fr/www/wp-admin/includes/class-wp-filesystem-base.php(231): WP_Filesystem_FTPext->exists(‘/home/0/d/vente…’) #2 /home/0/d/vente.dietetiquetuina.fr/www/wp-admin/includes/class-wp-filesystem-base.php(79): WP_Filesystem_Base->find_folder(‘/home/0/d/vente…’) #3 /home/0/d/vente.dietetiquetuina.fr/www/wp-content/themes/astra 4.6.0/inc/lib/docs/class-astra-docs-loader.php(328): WP_Filesystem_Base->wp_content_dir() #4 /home/0/d/vente.dietetiquetuina.fr/www/wp-content/themes/astra 4.6.0/inc/lib/docs/class-astra-docs-loader.php(355): Astra_Docs_Loader->get_base_path() #5 /home/0/d/vente.dietetiquetuina.fr/www/wp-content/themes/astra 4.6.0/inc/lib/docs/class-astra-docs-loader.php(289): Astra_Docs_Loader->get_docs_folder() #6 /home/0/d/vente.dietetiquetuina.fr/www/wp-content/themes/astra 4.6.0/inc/lib/docs/class-astra-docs-loader.php(194): Astra_Docs_Loader->get_local_docs_file_path() #7 /home/0/d/vente.dietetiquetuina.fr/www/wp-content/themes/astra 4.6.0/inc/lib/docs/class-astra-docs-loader.php(172): Astra_Docs_Loader->get_local_docs_contents() #8 /home/0/d/vente.dietetiquetuina.fr/www/wp-content/themes/astra 4.6.0/inc/extras.php(1381): Astra_Docs_Loader->get_remote_data() #9 /home/0/d/vente.dietetiquetuina.fr/www/wp-content/themes/astra 4.6.0/admin/includes/class-astra-menu.php(281): astra_remote_docs_data() #10 /home/0/d/vente.dietetiquetuina.fr/www/wp-includes/class-wp-hook.php(324): Astra_Menu->styles_scripts(‘toplevel_page_a…’) #11 /home/0/d/vente.dietetiquetuina.fr/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #12 /home/0/d/vente.dietetiquetuina.fr/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /home/0/d/vente.dietetiquetuina.fr/www/wp-admin/admin-header.php(118): do_action(‘admin_enqueue_s…’, ‘toplevel_page_a…’) #14 /home/0/d/vente.dietetiquetuina.fr/www/wp-admin/admin.php(239): require_once(‘/home/0/d/vente…’) #15 {main} thrown in /home/0/d/vente.dietetiquetuina.fr/www/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438

    Note that if i use astra 4.5.2 everything is fine, i don’t get error.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @doly77,

    Apologies for any trouble you’ve experienced.

    To resolve this, could you please add define( ‘FS_METHOD’, ‘direct’ );? to the wp-config.php file?

    Also, it’d be great if you could email us at [email protected] and include the link to this topic. Doing so will help us assist you more efficiently.

    Feel free to provide any additional information that might help speed up our response.

    We’re eager to hear from you soon.

    Best Regards,
    Avinash



    Thread Starter doly77

    (@doly77)

    Hello @avi1020p

    Thanks for your reply.

    When I add define( ‘FS_METHOD’, ‘direct’ );? at the end of the wp-config.php file I get the fatal error below.

    Fatal error:
    in /home/0/d/vente.dietetiquetuina.fr/www/wp-config.php on line 101

    Call stack:

    1. require_once()
      wp-load.php:50
    2. require_once()
      wp-admin/admin.php:34

    I have sent you an email.

    Regards

    Hi @doly77,

    I check your ticket and it seems we were able to help you figure out the root of the issue. Please mark this thread as Resolved and feel free to reply back to our email if you stil need any help regarding this matter.

    Kind regards,
    Herman ??

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