• Resolved chvtech

    (@chvtech)


    Hi today, my website has been displaying this error for every page. I have had to disable the braintree plugin.

    WordPress 5.4
    Woocommerce 4.0.1
    Braintree latest version via plugin update
    No changes to server environment

    Fatal error: Uncaught Braintree\Exception: The Braintree library requires the curl extension. in /var/www/wp-content/plugins/woo-payment-gateway/Braintree.php:25 Stack trace: #0 /var/www/wp-content/plugins/woo-payment-gateway/Braintree.php(31): requireBraintreeProDependencies() #1 /var/www/wp-content/plugins/woo-payment-gateway/braintree-payments.php(31): require_once(‘/var/www/wp-con…’) #2 /var/www/wp-settings.php(377): include_once(‘/var/www/wp-con…’) #3 /var/www/wp-config.php(99): require_once(‘/var/www/wp-set…’) #4 /var/www/wp-load.php(37): require_once(‘/var/www/wp-con…’) #5 /var/www/wp-admin/admin.php(34): require_once(‘/var/www/wp-loa…’) #6 /var/www/wp-admin/index.php(10): require_once(‘/var/www/wp-adm…’) #7 {main} thrown in /var/www/wp-content/plugins/woo-payment-gateway/Braintree.php on line 25

    All In One SEO Pack
    Better Font Awesome
    Defender
    GA Google Analytics
    Site Kit by Google
    Google XML Sitemaps
    Hummingbird
    HubSpot All-In-One Marketing – Forms, Popups, Live Chat
    MC4WP: Mailchimp for WordPress
    User Profile Picture
    UpStream Advanced Permissions
    UpStream Calendar View
    UpStream Copy Project
    UpStream Custom Fields
    UpStream Customizer
    UpStream Email Notifications
    UpStream Forms
    UpStream Frontend Edit
    UpStream Project Timeline
    UpStream
    Abandoned Cart Reports For WooCommerce
    WooCommerce Blocks
    WooCommerce Admin
    WooCommerce Direct Checkout
    Email Inquiry & Cart Options for WooCommerce
    WooCommerce – Store Exporter
    WooCommerce PDF Invoices & Packing Slips
    Hustle
    WP Mail SMTP
    Smush
    WP to Buffer

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Clayton R

    (@mrclayton)

    @chvtech,

    This plugin requires the curl extension. It sounds like you recently upgraded your PHP version and didn’t install curl.

    Kind Regards,

    Thread Starter chvtech

    (@chvtech)

    Thanks for your quick response mr.clayton.

    We are in a Managed WordPress environment, using PHP 7.3. Should I downgrade to 7.2?
    I can’t enable or disable any extensions in this managed environment.

    Thanks
    chvtech 🙂

    Plugin Author Clayton R

    (@mrclayton)

    @chvtech,

    Yes, you should downgrade to the previous version of PHP you were using until you can install the curl extension for PHP 7.3

    Kind Regards,

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

The topic ‘Fatal Error Regarding CURL Extension’ is closed to new replies.