[4.13.0] Syntax error in class-wc-gateway-revolut-cc.php
-
After when i installed the plugin version 4.13.0 i got the following error:
Parse error: syntax error, unexpected ‘)’ in /var/www/clients/client52/web107/web/beta.budapesttuktuk.com/wp-content/plugins/revolut-gateway-for-woocommerce/includes/gateways/class-wc-gateway-revolut-cc.php on line 309
There is an extra comma in line 308 after )
Fixed code:
/** * Render an input in the "Change payment method" form which does not appear in the "Pay for order" page */ public function differentiate_change_payment_method_form() { echo wp_kses( '<input type="hidden" id="wc-revolut-change-payment-method" />', array( 'input' => array( 'id' => array(), 'type' => array(), 'name' => array(), 'value' => array(), 'checked' => array(), 'class' => array(), 'placeholder' => array(), 'style' => array(), ), ) ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[4.13.0] Syntax error in class-wc-gateway-revolut-cc.php’ is closed to new replies.