[resolved] Circulation Desk Error (6 posts)

  1. IHawkings
    Posted 3 years ago #

    Hi there,

    I'm trying to use the circulation desk but I am having some issues. I am trying to see the items that have been placed on hold by patrons so that I can assign them as checked out. However, when I click circulation desk > list holds I receive a message like this:

    Fatal error: Not a valid barcode: 9781580173705 in /hosted/domains/a/r/domain.com/public_html/folder/wp-content/plugins/weblibrarian/includes/database_code.php on line 754

    I experience the same thing when I login as a patron and try to look up the items I have placed on hold. When I try and look up a patron I experience the same error. Any thoughts what the issue might be?

    Thanks in advance for your help!


  2. Robert Heller
    Plugin Author

    Posted 3 years ago #

    Somehow you managed to place a hold on an item not in your collection. I think the only way that would be possible is that the hold was placed on an item that was later deleted.

    Try creating an item with the problem barcode, even if it is a 'dummy' item. Right now, the system does not handle deleting items with holds or checkouts -- the hold and checkout records are left dangling.

  3. IHawkings
    Posted 3 years ago #

    Hmm that's strange. I tried adding the dummy item but another error comes up with a different barcode. I did a bulk upload earlier and deleted these items, maybe it's recognizing all the items I deleted?

    Also, I see three holds in my collection. I'm still not sure how to remove a hold or turn it into a checked out item? Maybe this will reset something?

  4. Robert Heller
    Plugin Author

    Posted 3 years ago #

    If you did a hold on the items you later deleted, then yes, you will get this error. I probably should put a check in the delete function to check to be sure that items being deleting don't have holds or are checked out, either preventing the delete or removing the hold and checkout records when deleting the item.

    There should be a button to remove a hold and checking out an item happens on the circulation desk page.

  5. Robert Heller
    Plugin Author

    Posted 3 years ago #

    I pushed a new version, 3.2.4, of the Web Librarian plugin. This verison includes code to delete holds and checkouts of an item when you delete the item -- that is, it prevents orphaned holds and checkouts.

    I also added a Collection Database Maint. page that has a button to delete holds and checkouts for deleted items and patrons. You should be able to use this page to clear out your orphaned holds and checkouts.

  6. IHawkings
    Posted 3 years ago #

    Wow, this is fantastic. Thank you so much for your support. I will give the updated version a try.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WebLibrarian
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.