• Resolved mgroem

    (@mgroem)


    Hello,

    When updating Ultimate Block to the latest version 3.0.3, my site was not accessible anymore. It just showed ‘critical error’. I was able to delete the plugin via FTP. But the problem reoccurs every time I install Ultimate Blocks and attempt to activate it.

    The site has WordPress version 6.3.1. PhP is version 8.2.

    Any help is much appreciated.
    Best

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @mgroem,

    I am really sorry to hear that.

    Can you please share what error it showed ?

    When the error occurred you should have gotten an email with the exact error.

    If you can share the error with us, we can work on it.

    Kind regards.

    v3.0.3 is still causing fatal errors from the upsell function . i really recommend pulling this function or at least catching the exception because it halts the whole site. can check if the input of ftp_nlist() is a null or a resource.

    Fatal error: Uncaught Error: ftp_nlist(): Argument #1 ($ftp) must be of type resource, null given
    in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438

    ftp_nlist()
    wp-admin/includes/class-wp-filesystem-ftpext.php:438
    WP_Filesystem_FTPext::exists()
    wp-content/plugins/ultimate-blocks/includes/pro_manager/base/Pro_Extension_Upsell.php:144
    Ultimate_Blocks\i\p\b\Pro_Extension_Upsell::generate_upsell_data()
    call_user_func_array()
    wp-content/plugins/ultimate-blocks/includes/pro_manager/base/Pro_Extension_Upsell.php:82
    Ultimate_Blocks\i\p\b\Pro_Extension_Upsell::get_upsell_data()
    wp-content/plugins/ultimate-blocks/includes/pro_manager/Pro_Manager.php:232
    Ultimate_Blocks\i\p\Pro_Manager::prepare_priority_upsell_data()
    wp-content/plugins/ultimate-blocks/includes/pro_manager/Pro_Manager.php:60
    Ultimate_Blocks\i\p\Pro_Manager::init_process()
    wp-content/plugins/ultimate-blocks/includes/common/traits/Manager_Base_Trait.php:53
    Ultimate_Blocks\i\p\Pro_Manager::init()
    wp-content/plugins/ultimate-blocks/includes/class-ultimate-blocks.php:180
    Ultimate_Blocks::define_admin_hooks()
    wp-content/plugins/ultimate-blocks/includes/class-ultimate-blocks.php:64
    Ultimate_Blocks::__construct()
    wp-content/plugins/ultimate-blocks/ultimate-blocks.php:127
    run_ultimate_blocks()
    wp-includes/class-wp-hook.php:310
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:334
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-settings.php:495
    require_once()
    wp-config.php:94
    require_once()
    wp-load.php:50
    require_once()
    wp-admin/admin.php:34
    require_once()
    wp-admin/plugins.php:10
    • This reply was modified 1 year, 5 months ago by hongpong.
    • This reply was modified 1 year, 5 months ago by hongpong.
    Plugin Contributor erdembircan

    (@erdembircan)

    Hello everyone,

    Sorry to hear you are still experiencing this issue. Even though we can’t recreate the issue on our end, we are changing the implementation of that class to prevent this issue based on the error log you shared. Planning to add it to upcoming version (v3.0.4) which we are planning to release shortly.

    Best regards.

    Plugin Contributor erdembircan

    (@erdembircan)

    Hello all,

    We released an update addressing this issue. Please update and try it out. Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ultimate Blocks causes site critical error’ is closed to new replies.