Plugin Broken at the moment?
-
if I replace line 409 with $result[‘locale’] = $result[‘locale’] = substr($_SERVER[‘HTTP_ACCEPT_LANGUAGE’],0, 2);
everything works fine.
2019-03-12T17:25:12+00:00 CRITICAL Uncaught Error: Class ‘Locale’ not found in /var/www/bb2.ederit.com/wp-content/plugins/wirecard-woocommerce-extension/vendor/wirecard/payment-sdk-php/src/Transaction/Transaction.php:409
Stack trace:
#0 /var/www/bb2.ederit.com/wp-content/plugins/wirecard-woocommerce-extension/vendor/wirecard/payment-sdk-php/src/Mapper/RequestMapper.php(92): Wirecard\PaymentSdk\Transaction\Transaction->mappedProperties()
#1 /var/www/bb2.ederit.com/wp-content/plugins/wirecard-woocommerce-extension/vendor/wirecard/payment-sdk-php/src/TransactionService.php(660): Wirecard\PaymentSdk\Mapper\RequestMapper->map(Object(Wirecard\PaymentSdk\Transaction\CreditCardTransaction))
#2 /var/www/bb2.ederit.com/wp-content/plugins/wirecard-woocommerce-extension/classes/includes/class-wc-wirecard-payment-gateway.php(345): Wirecard\PaymentSdk\TransactionService->process(Object(Wirecard\PaymentSdk\Transaction\CreditCardTransaction), ‘pay’)
#3 /var/www/bb2.ederit.com/wp-content/plugins/wirecard-woocommerce-extension/classes/includes/class-wc-gateway- in /var/www/bb2.ederit.com/wp-content/plugins/wirecard-woocommerce-extension/vendor/wirecard/payment-sdk-php/src/Transaction/Transaction.php in Zeile 409
- The topic ‘Plugin Broken at the moment?’ is closed to new replies.