Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Braintree - PHP Fatal Error #533

Closed
angelleye opened this issue Aug 12, 2016 · 1 comment
Closed

Braintree - PHP Fatal Error #533

angelleye opened this issue Aug 12, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@angelleye
Copy link
Collaborator

Our rep from PayPal is running into a PHP fatal error both with and without the drop-in UI enabled:

PHP Fatal error: Uncaught Error: Call to undefined method WC_Gateway_Braintree_AngellEYE::str_to_ascii() in /var/www/html/wp-content/plugins/paypal-woocommerce-release/classes/wc-gateway-braintree-angelleye.php:462
Stack trace:

0 /var/www/html/wp-content/plugins/paypal-woocommerce-release/classes/wc-gateway-braintree-angelleye.php(404): WC_Gateway_Braintree_AngellEYE->str_truncate('4025559876', 14, '')

1 /var/www/html/wp-content/plugins/paypal-woocommerce-release/classes/wc-gateway-braintree-angelleye.php(346): WC_Gateway_Braintree_AngellEYE->angelleye_do_payment(Object(WC_Order))

2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(663): WC_Gateway_Braintree_AngellEYE->process_payment(11)

3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(472): WC_Checkout->process_checkout()

4 /var/www/html/wp-includes/plugin.php(525): WC_AJAX::checkout('')

5 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(82): do_action('wc_ajax_checkou...')

6 /var/www/html/wp-i in /var/www/html/wp-content/plugins/paypal-woocommerce-release/classes/wc-gateway-braintree-angelleye.php on line 462, referer: http://woo-angelleye-3881.ccg21.dev.paypalcorp.com/index.php/checkout/

@angelleye angelleye added the bug label Aug 12, 2016
@angelleye angelleye added this to the 1.2.4 milestone Aug 12, 2016
@kcppdevelopers
Copy link
Contributor

I found issue, above PHP error only occur when php mbstring extension is not enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant