Quote Originally Posted by kina View Post
This is a great module...and totally what I need, however, in entering the zip codes, I'm finding this error:

Warning: Variable passed to each() is not an array or object in /www/url.com/web/onlinestore/includes/classes/db/mysql/query_factory.php on line 114
(some sections in this error have been changed to protect my clients privacy)

With all of my troubleshooting...it seems to come up based on the "amount" of zipcodes I"m entering into each zone,which is basically all the zipcodes in each particular state (I'm using 1 zone per state...so I have 48 zones)

So what I'd like to know... is there a limit of the number of characters I can enter into the area where I enter the zip codes?? Is there a way that I can change that in the php code to accomodate all the zipcodes that exist in say California and Texas?? Even just Washington state, it doesn't seem to want to work right when I enter in *all* of the zip codes from that state...but it works just fine when I enter in a partial list of zip codes from that state.

Any help is most appreciated!!
As I mentioned in my post above, I took the original code base from Zones and modified it, so honestly I can't take credit for the original code. I don't know where the limitations are in the number of zones that can be created. According to the notes in the files, one should be able to add the number of zones needed.

have you tried using the regular Zones module and creating 48 zones or whatever you need. The system will recognize your state, you merely need to define it. Just a thought.

Sorry I'm not of more help. Maybe someone else who is a better coder than I could jump in and help.