Title: &#8220;Request&#8221; button does not work
Last modified: June 2, 2018

---

# “Request” button does not work

 *  [chevindu](https://wordpress.org/support/users/chevindu/)
 * (@chevindu)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/)
 * I’ve created a user account and assigned a Patron ID to it. Using that account,
   I could see the `Request` button beside the books, when `holdbutton` value is
   set to true.
 * But I can seem to make it work. When I click it, nothing happens. The book doesn’t
   go Hold in the Dashboard. Any idea what’s wrong?
 * Also, while inspecting the Resources, there was an error. It said: “ReferenceError:
   Can’t find variable: jQuery” and it referred to the line `40` in `Scripts/front.
   js`. Hope this clears anything for you.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Robert Heller](https://wordpress.org/support/users/robertpheller/)
 * (@robertpheller)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10354739)
 * What web browser are you using?
 * Is the search page on a page other then your home page? If so, what is your permalink
   setting?
 * What version of Php is your *server* running?
 * What O/S is your *server* running? What version?
 * What web server is your *server* running? What version?
 * What db server is your *server* running? What version?
 *  Thread Starter [chevindu](https://wordpress.org/support/users/chevindu/)
 * (@chevindu)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10354781)
 * I’m using using both Safari and Firefox, latest updates of them both.
 * I only have one page on the site, which is set as the home page. It’s only content
   is:
    `[weblib_searchform]` `[weblib_itemlist holdbutton='true' inlinemoreinfo
   ='true']`
 * PHP Version: 5.5.31
 * OS: linux (version not specified)
 * Apache Version: 2.4.18
 * MySQL Version: 5.6.39
    -  This reply was modified 7 years, 12 months ago by [chevindu](https://wordpress.org/support/users/chevindu/).
 *  Plugin Author [Robert Heller](https://wordpress.org/support/users/robertpheller/)
 * (@robertpheller)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10354799)
 * OK, my only thought is either JavaScript is disabled in your web browsers or 
   there is a problem with the AJAX callbacks (maybe some Apache setting is wrong).
 *  Thread Starter [chevindu](https://wordpress.org/support/users/chevindu/)
 * (@chevindu)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10354834)
 * Just checked, both my browsers have JavaScript enabled. :/
 * If it is because of AJAX callbacks, how might I be able to find a remedy? I’m
   mostly clueless on this stuff.
 * Thanks for the quick replies, though.
 *  Plugin Author [Robert Heller](https://wordpress.org/support/users/robertpheller/)
 * (@robertpheller)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10354862)
 * Check with your hosting provider. There might be a clue in the Apache log file.
 * It might also be caused by some sort of firewall or proxy setting.
 *  Thread Starter [chevindu](https://wordpress.org/support/users/chevindu/)
 * (@chevindu)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10355090)
 * I could find the log file related to my account with the aid of hosting provider.
   It has a number of errors, but I’ll only paste below what I think is relevant.
 * [01-Jun-2018 03:54:18 UTC] PHP Fatal error: Call to a member function show_errors()
   on a non-object in /home/weerasek/public_html/wp-content/plugins/weblibrarian/
   includes/database_code.php on line 929
    [01-Jun-2018 03:57:41 UTC] PHP Warning:
   Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/
   plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145 [01-Jun-
   2018 03:57:41 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/
   weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.
   php on line 145 [01-Jun-2018 04:04:30 UTC] PHP Warning: Invalid argument supplied
   for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/
   WEBLIB_Statistics_Admin.php on line 145 [01-Jun-2018 04:04:30 UTC] PHP Warning:
   Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/
   plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145 [01-Jun-
   2018 04:07:51 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/
   weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.
   php on line 145 [01-Jun-2018 04:07:51 UTC] PHP Warning: Invalid argument supplied
   for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/
   WEBLIB_Statistics_Admin.php on line 145 [01-Jun-2018 04:09:27 UTC] PHP Warning:
   Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/
   plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145 [01-Jun-
   2018 04:09:27 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/
   weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.
   php on line 145
 *  Thread Starter [chevindu](https://wordpress.org/support/users/chevindu/)
 * (@chevindu)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10358754)
 * Pasting these screenshots, if it makes your life any easier.
 * [imgur links](https://imgur.com/gallery/PVY6n5s).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘“Request” button does not work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/weblibrarian_ffffff.svg)
 * [WebLibrarian](https://wordpress.org/plugins/weblibrarian/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weblibrarian/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weblibrarian/)
 * [Active Topics](https://wordpress.org/support/plugin/weblibrarian/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weblibrarian/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weblibrarian/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [request](https://wordpress.org/support/topic-tag/request/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 7 replies
 * 2 participants
 * Last reply from: [chevindu](https://wordpress.org/support/users/chevindu/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/request-button-does-not-work/#post-10358754)
 * Status: not resolved