I am getting this error in my logs:

Call to a member function RecordCount() on a non-object in /home/***/public_html/includes/modules/quick_checkout.php on line 339
It only happens when a billing country with no states set up in the zones is chosen during guest or regular checkout AND when billing and shipping addresses are different. So for example, if I checkout with the UK as my country, and use it for billing and shipping, checkout works fine. If I checkout with UK as my billing country and a different country as my shipping country, I get the log error above. If I checkout with a country with zones (e.g. US) as my billing country, and UK as my shipping country, checkout works fine.

So, to sum up, the error only happens when ALL of these conditions are met:

1. Shipping and billing are different
2. Billing address is a country with no zones (e.g. UK)

There are several countries that have no zones by default in zen-cart, so I assume the error is within the FEC mod? Any ideas on how I can fix this?