[Koha-bugs] [Bug 20002] Can't call method "description" on an undefined value at /usr/share/koha/intranet/cgi-bin/members/summary-print.pl line 107.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 5 16:15:28 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20002

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I am sorry I have no idea then.
Do you have something else in the log? Maybe your item does not have an item
type defined? Make sure your items have an item type correctly defined.

Otherwise you could apply this change:

diff --git a/members/summary-print.pl b/members/summary-print.pl
index a6a0e36194..bb57ee0d00 100755
--- a/members/summary-print.pl
+++ b/members/summary-print.pl
@@ -100,6 +100,7 @@ sub build_issue_data {
             if ( $issue->{replacementprice} );

         #find the charge for an item
+        warn "Getting charges for " . $issue->{itemnumber};
         my ( $charge, $itemtype ) =
           GetIssuingCharges( $issue->{itemnumber}, $borrowernumber );

Restart plack, then reload the page.
In the log you should see the "Getting charges for " line with the itemnumber
that cause problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list