
Originally Posted by
amandarm
The log shows me this:
PHP Fatal error: Function name must be a string in /home/metime5/public_html/includes/modules/payment/paypal/paypal_functions.php on line 919
So I look and the php file in that area says:
// check subtotals
if ((strval($optionsST['subtotal']) > 0 && strval($subTotalLI) > 0 && strval($subTotalLI) != strval($optionsST['subtotal'])) || strval($subTotalLI) - strval($sumOfLineItems) != 0) {
$ipn_logging('getLineItemDetails 5', 'Line-item subtotals do not add up properly. Line-item-details skipped.' . "\n" . strval($sumOfLineItems) . ' ' . strval($subTotalLI) . ' ' . print_r(array_merge($optionsST, $optionsLI), true));
$optionsLI = array();
$optionsLI["item_name_0"] = MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_TITLE;
$optionsLI["amount_0"] = $sumOfLineItems = $subTotalLI = $optionsST['subtotal'];
}
I'm not sure how to fix this.