Plugin no longer working
-
Got an email from WordPress saying that this plugin is no longer working. Need help addressing the issue, I am inexperienced in handling stuff like this.
“WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Braintree for WooCommerce Payment Gateway.
First, visit your website (https://collectibleentertainment.com/) and check for any visible issues. Next, visit the page where the error was caught (https://collectibleentertainment.com/wp-admin/admin-ajax.php) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.6.2
Active theme: Primary Child Theme (version 1.7.12.1.1697127012)
Current plugin: Braintree for WooCommerce Payment Gateway (version 3.2.0)
PHP version 8.1.29″
Error Details
=============
An error of type E_ERROR was caused in line 51 of the file /srv/htdocs/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/class-wc-gateway-braintree-blocks-support.php. Error message: Uncaught Error: Call to a member function is_available() on null in /srv/htdocs/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/class-wc-gateway-braintree-blocks-support.php:51
Stack trace:
#0 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/Payments/PaymentMethodRegistry.php(28): WC_Gateway_Braintree_Blocks_Support->is_active()
#1 [internal function]: Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->Automattic\WooCommerce\Blocks\Payments\{closure}(Object(WC_Gateway_Braintree_PayPal_Blocks_Support))
#2 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/Payments/PaymentMethodRegistry.php(29): array_filter(Array, Object(Closure))
#3 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/Payments/PaymentMethodRegistry.php(40): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_registered()
#4 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/Payments/Api.php(65): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies()
#5 /wordpress/core/6.6.2/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_dependencies(Array, 'wc-cart-block')
#6 /wordpress/core/6.6.2/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#7 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/Assets/Api.php(275): apply_filters('woocommerce_blo...', Array, 'wc-cart-block')
#8 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/BlockTypes/AbstractBlock.php(141): Automattic\WooCommerce\Blocks\Assets\Api->register_script('wc-cart-block', 'assets/client/b...', Array, true)
#9 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/BlockTypes/Cart.php(270): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->register_block_type_assets()
#10 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/BlockTypes/AbstractBlock.php(125): Automattic\WooCommerce\Blocks\BlockTypes\Cart->register_block_type_assets()
#11 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/BlockTypes/Cart.php(34): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->initialize()
#12 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/BlockTypes/AbstractBlock.php(71): Automattic\WooCommerce\Blocks\BlockTypes\Cart->initialize()
#13 /wordpress/plugins/woocommerce/9.3.1/src/Blocks/BlockTypesController.php(153): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->__construct(Object(Automattic\WooCommerce\Blocks\Assets\Api), Object(Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry), Object(Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry))
#14 /wordpress/core/6.6.2/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockTypesController->register_blocks('')
#15 /wordpress/core/6.6.2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#16 /wordpress/core/6.6.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#17 /wordpress/core/6.6.2/wp-settings.php(700): do_action('init')
#18 /srv/htdocs/wp-config.php(73): require_once('/wordpress/core...')
#19 /wordpress/core/6.6.2/wp-load.php(55): require_once('/srv/htdocs/wp-...')
#20 /wordpress/core/6.6.2/wp-admin/admin-ajax.php(22): require_once('/wordpress/core...')
#21 {main}
thrown
- The topic ‘Plugin no longer working’ is closed to new replies.