Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

[Resolved] BuddyCommerce critical fail with BuddyBoss Platform 2.21.0

  • Participant
    Level: Initiated
    Posts: 1
    Frank Black on #56177

    Just updated to BuddyBoss Platform 2.21.0

    (Other details: WordPress 6.9.4, multisite)

    Appears to be an issue with loading bc-conditional-functions.php in time?

    `
    Uncaught Error: Call to undefined function bcommerce_is_user_add_payment_methods()
    in /home/srv/www/bedrock/web/app/plugins/buddycommerce/src/core/bc-wc-override.php on line 41

    Call stack:

    is_add_payment_method_page()
    app/plugins/woocommerce/includes/class-wc-payment-gateways.php:399
    WC_Payment_Gateways::get_available_payment_gateways()
    app/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php:435
    WooCommerce\P\B\A\SmartButton::render_button_wrapper_registrar()
    app/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php:305
    WooCommerce\P\B\A\SmartButton::render_wrapper()
    app/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/ButtonModule.php:70
    WooCommerce\P\B\ButtonModule::WooCommerce\P\B\{closure}()
    wp-includes/class-wp-hook.php:341
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:365
    WP_Hook::do_action()
    wp-includes/plugin.php:570
    do_action_ref_array()
    wp-includes/class-wp.php:838
    WP::main()
    wp-includes/functions.php:1343
    wp()
    wp-blog-header.php:16
    require(‘/home/srv/www/bedrock/web/wp/wp-blog-header.php’)
    index.php:35
    `

  • Keymaster
    (BuddyDev Team)
    Posts: 25363
    Brajesh Singh on #56178

    Hi Frank,
    I am sorry for the inconvenience.
    is that a persistent error or did that happen one time? It is possible that it might have triggered during BuddyBoss upgrade(we depend on their hooks), I don’t see any reason for this to happen peristently.

    can you please check and confirm.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 1
    Frank Black on #56179

    RESOLVED: BuddyBoss Platform upgrade broke BuddyBoss, so dependencies weren’t loading. Fixed BuddyBoss and BuddyCommerce working as expected.

  • Keymaster
    (BuddyDev Team)
    Posts: 25363
    Brajesh Singh on #56180

    Thank you for sharing the update. I am glad it is resolved.

    Regards
    Brajesh

The topic ‘ [Resolved] BuddyCommerce critical fail with BuddyBoss Platform 2.21.0’ is closed to new replies.

This topic is: resolved