PHP Fatal Error in 3.7.8
-
Hello,
Using the current versions of WordPress, WPML, WooCommerce, and Braintree Payment Gateway (and all plugins), after updating to 3.7.8 today the checkout page does not load with this error:
[28-Jan-2016 14:40:40 UTC] PHP Catchable fatal error: Object of class WC_Gateway_Braintree_Credit_Card could not be converted to string in /public_html/wp-content/plugins/woocommerce-multilingual/inc/wc-strings.class.php on line 22
Line 22 is:
21: foreach ( $payment_gateways as $gateway ) {
22: $gateway_id = strtolower( str_replace( ‘WC_Gateway_’, ”, $gateway ) );Based on the error, I’m not sure if there is a problem with the WC_Gateway-Braintree_Credit_Card class that requires an update to the Braintree plugin or if there is a problem with the code to get the string needed.
In the meantime I have reverted to 3.7.7 but wanted to post about this to see where the problem might be and if there is an easy resolution. Thank you!
The topic ‘PHP Fatal Error in 3.7.8’ is closed to new replies.