Notice: Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the godaddy-payments-payinperson-main-styles handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wp-includes/functions.php on line 6085

Notice: Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the godaddy-payments-payinperson-main-styles handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wp-includes/functions.php on line 6085

Warning: Undefined array key "braintree_paypal" in /var/www/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/class-wc-gateway-braintree-blocks-support.php on line 51

Fatal error: Uncaught Error: Call to a member function is_available() on null in /var/www/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/class-wc-gateway-braintree-blocks-support.php:51 Stack trace: #0 /var/www/wp-content/plugins/woocommerce/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 /var/www/wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(29): array_filter(Array, Object(Closure)) #3 /var/www/wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(40): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_registered() #4 /var/www/wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(65): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies() #5 /var/www/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_dependencies(Array, 'wc-cart-block') #6 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #7 /var/www/wp-content/plugins/woocommerce/src/Blocks/Assets/Api.php(275): apply_filters('woocommerce_blo...', Array, 'wc-cart-block') #8 /var/www/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(141): Automattic\WooCommerce\Blocks\Assets\Api->register_script('wc-cart-block', 'assets/client/b...', Array, true) #9 /var/www/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Cart.php(271): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->register_block_type_assets() #10 /var/www/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(125): Automattic\WooCommerce\Blocks\BlockTypes\Cart->register_block_type_assets() #11 /var/www/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Cart.php(34): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->initialize() #12 /var/www/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(71): Automattic\WooCommerce\Blocks\BlockTypes\Cart->initialize() #13 /var/www/wp-content/plugins/woocommerce/src/Blocks/BlockTypesController.php(107): 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 /var/www/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockTypesController->register_blocks('') #15 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #16 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #17 /var/www/wp-settings.php(700): do_action('init') #18 /var/www/wp-config.php(105): require_once('/var/www/wp-set...') #19 /var/www/wp-load.php(50): require_once('/var/www/wp-con...') #20 /var/www/wp-blog-header.php(13): require_once('/var/www/wp-loa...') #21 /var/www/index.php(17): require('/var/www/wp-blo...') #22 {main} thrown in /var/www/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/class-wc-gateway-braintree-blocks-support.php on line 51