Aleksey
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] CRITICAL Uncaught Error Class not foundAnother one ??
2024-01-10T17:59:13+00:00 CRITICAL Uncaught TypeError: WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource::name(): Return value must be of type string, null returned in /www/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/PaymentSource.php:50
Stack trace: 0 /www/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/ContextTrait.php(182): WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource->name() 1 /www/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-session/src/Cancellation/CancelController.php(66): WooCommerce\PayPalCommerce\Session\Cancellation\CancelController->is_paypal_continuation() 2 /www/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-session/src/SessionModule.php(57): WooCommerce\PayPalCommerce\Session\Cancellation\CancelController->run() 3 /wordpress/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Session\SessionModule->WooCommerce\PayPalCommerce\Session{closure}(”) 4 /wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 5 /wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 6 /www/wp-content/plugins/woocommerce/includes/class-woocommerce.php(712): do_action(‘woocommerce_ini…’) 7 /wordpress/wp-includes/class-wp-hook.php(324): WooCommerce->init(”) 8 /wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 9 /wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 10 /wordpress/wp-settings.php(646): do_action(‘init’) 11 /www/wp-config.php(117): require_once(‘/wordpress/wp-s…’) 12 /wordpress/wp-config.php(5): require(‘/www/wp-config….’) 13 /wordpress/wp-load.php(50): require_once(‘/wordpress/wp-c…’) 14 /wordpress/wp-blog-header.php(13): require_once(‘/wordpress/wp-l…’) 15 /www/index.php(17): require(‘/wordpress/wp-b…’) 16 {main}thrown in /www/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/PaymentSource.php on line 50
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] JavaScript Output TwiceI have encountered the same issue. Suppose you have a mini cart on the page, and this plugin adds the JavaScript code twice, or even more. You can resolve it by removing the mini cart or restoring the JavaScript script to its pre-update state. it should be like this https://prnt.sc/HOMvPLgifIpN
wp-content/plugins/woocommerce-google-analytics-integration/includes/class-wc-google-gtag-js.php
- This reply was modified 1 year, 3 months ago by Aleksey.