[freeside-users] Can't call method "invnum_date_pretty"

Timothy Butkiewicz tbutkiewicz at cybermind.biz
Wed Apr 7 13:26:51 PDT 2010


Getting the following error. Far as I can tell it has to do with a date
in a field or a missing reference, but in reviewing the database we
can't locate the record causing the problem. Any leads?

error:   	Can't call method "invnum_date_pretty" on an undefined
value at
/usr/lib/perl5/site_perl/5.8.8/FS/cust_bill_ApplicationCommon.pm line
384.
context:  	
...  	
380:  	=cut
381:  	
382:  	sub applied_to_invoice {
383:  	my $self = shift;
384:  	'applied to '. $self->cust_bill->invnum_date_pretty;
385:  	}
386:  	
387:  	=item lineitem_breakdown_table
388:  	
...  	
code stack:
/usr/lib/perl5/site_perl/5.8.8/FS/cust_bill_ApplicationCommon.pm:384
/var/www/html/freeside/view/cust_main/payment_history/payment.html:90
/usr/lib/perl5/site_perl/5.8.8/FS/Mason.pm:331
/var/www/html/freeside/view/cust_main/payment_history.html:407
/usr/lib/perl5/site_perl/5.8.8/FS/Mason.pm:331
/var/www/html/freeside/view/cust_main.cgi:208
/var/www/html/freeside/autohandler:1


More information about the freeside-users mailing list