[freeside-devel] Tonights oddness (page doesn't work coming from print)
ivan
ivan at 420.am
Mon Jan 21 06:16:13 PST 2002
On Tue, Dec 11, 2001 at 07:46:46PM -0600, Dave Burgess wrote:
>
> [Tue Dec 11 19:34:13 2001] [error] [asp] [5000] [error] Can't call
> method "balance" on an undefined value at
> /usr/pkg/lib/perl5/site_perl/5.6.1/FS/cust_pay.pm line 103 during global
> destruction. <--> , /usr/pkg/lib/perl5/site_perl/5.6.1/Apache/ASP.pm
> line 1574
Okay, this one is even weirder. I can't imagine how the interpreter would
wind up in cust_pay::insert during global destruction.
The only way I could see the "Can't call method "balance" on an undefined
value at /usr/pkg/lib/perl5/site_perl/5.6.1/FS/cust_pay.pm line 103" error
being generated is if you tried to insert an FS::cust_pay object that had
an invalid custnum... but I can't for the life of me figure out how you'd
get there during global destruction.
>
> Line 103 in cust_pay.pm seems to be a call to qsearchs on the
> cust_main table, but that doesn't really make any sense, since
> there haven't been any updates to that table in two days. Is it
> possible that we're missing a 'commit' someplace?
Hua?
> Line 307 in
> cust_main.cgi is
The code below is from cust_main.pm, not view/cust_main.cgi...
> "foreach my $svc_something ( @{$cust_pkgs->{$cust_pkg}} ) {"
>
> so there seems to be something happening all of a sudden....
>
> One thing I didn't mention: the server returns an "Internal Server Error"
> everytime this happens.
>
> Dave
--
_ivan
More information about the freeside-devel
mailing list