@@ -, +, @@ does not exist Can't call method "is_debarred" on an undefined value at /circ/circulation.pl line 300. --- circ/circulation.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/circ/circulation.pl +++ a/circ/circulation.pl @@ -297,7 +297,8 @@ if ($borrowernumber) { finetotal => $fines ); - if ( Koha::Patrons->find( $borrowernumber )->is_debarred ) { + my $patron = Koha::Patrons->find( $borrowernumber ); + if ( $patron and $patron->is_debarred ) { $template->param( 'userdebarred' => $borrower->{debarred}, 'debarredcomment' => $borrower->{debarredcomment}, --