Closed ghost closed 6 years ago
All functions in the module should be defined.
The function logDebugOrders isn't defined It's visible in the version 4.5 of the module in _validateOrder.
logDebugOrders
_validateOrder
When the country linked ot the received order insn't active, the condition will try to call this function which will results to a Fatal Error.
The function should be replaced by SfLogger::getInstance()->log(SF_LOG_ORDERS, $errorMessage);
SfLogger::getInstance()->log(SF_LOG_ORDERS, $errorMessage);
Expected behaviour
All functions in the module should be defined.
Actual behaviour
The function
logDebugOrders
isn't defined It's visible in the version 4.5 of the module in_validateOrder
.Steps to reproduce the behaviour
When the country linked ot the received order insn't active, the condition will try to call this function which will results to a Fatal Error.