Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,515
- Plugin Contributions:
- 176
FEC Create New Account in Login.php no longer working for me
You said the error was: "Call to a member function RecordCount() on a non-object"
and that the line where the error was occurring contained:```
$zone->RecordCount()
That error means that $zone isn't a valid object at that point. And, since it's referencing RecordCount() it strongly suggests that $zone was expected to be a result of a DB query, such as $zone = $db->Execute($sql)
The error suggests that $zone is never being set, which suggests that your code is missing some important logic or has been sloppily copy-and-pasted from someplace else, or it's part of a logic loop that's not firing correctly or in the wrong order.
You asked what it meant. That's what it means.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.