Hallo Zusammen,
nach dem Warenkorb im checkout shipping kommt eine weiße Seite.
in den logs steht:
PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /includes/modules/payment/paypalwpp.php on line 1148
und
PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /includes/modules/payment/linkpoint_api.php on line 320
Wo ist denn der Fehler? Paypal wird auch nicht mehr unter den Zahlungsmodulen im Backend angezeigt?
nach dem Warenkorb im checkout shipping kommt eine weiße Seite.
in den logs steht:
PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /includes/modules/payment/paypalwpp.php on line 1148
PHP-Code:
// handle other order totals:
global $order_totals[$i]['code'];
if ((substr($order_totals[$i]['text'], 0, 1) == '-') || (isset($order_totals[$i]['code']->credit_class) && $order_totals[$i]['code']->credit_class == true)) {
// handle credits
$creditsApplied += round($order_totals[$i]['value'], 2);
} else {
und
PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /includes/modules/payment/linkpoint_api.php on line 320
PHP-Code:
else {
global $$order_totals[$i]['code'];
if (substr($order_totals[$i]['text'], 0, 1) == '-' || (isset($$order_totals[$i]['code']->credit_class) && $$order_totals[$i]['code']->credit_class == true)) {
$creditsApplied += round($order_totals[$i]['value'],2);
Kommentar