Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,513
- Plugin Contributions:
- 177
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.