Error Log cleanup

$settings is expected to be an array, but if you’re not using Tax rates, it’s passed as NULL which drops 3 errors per item in the error log.