The script tries to build the pagination menu but lacks the right parameters for it: Use of uninitialized value $totitems in division (/) at C4/VirtualShelves/Page.pm line 371. Use of uninitialized value $totitems in modulus (%) at C4/VirtualShelves/Page.pm line 371.
Created attachment 6615 [details] [review] Proposed fix Checking for variables before trying to use them in building the pagination menu.
Now it no longer tries to build the pagination bar when editing an list (which makes sense there is nothing to paginate).
Created attachment 6735 [details] [review] Bug 7325 - Editing a list generates errors in the log Checking for variables before trying to use them in building the pagination menu Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
QA comment: tiny patch, remove log noise, passed QA patch pushed, please test PS: totitem could also have been quieted by defaulting to 0. That could have been cleaner, but that could also be debated for years, so accepting this one ;-)
Included in 3.6 prior to 3.6.5.