Title: Admin Ajax Error 500
Last modified: October 30, 2020

---

# Admin Ajax Error 500

 *  Resolved [Scott5297](https://wordpress.org/support/users/scott5297/)
 * (@scott5297)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/admin-ajax-error-500/)
 * Bookly works fine when I’m logged into wordpress. But when customers view it 
   they get the endless loading spinner.
 * This error is in devtools:
    Failed to load resource: the server responded with
   a status of 500 () wp-admin/admin-ajax.php?action=bookly_render_time&csrf_token
   =8ba999b011&form_id=5f9b8b295addc&new_chain=true
 * Here’s the debug log:
 *     ```
       [30-Oct-2020 03:33:43 UTC] PHP Notice:  Trying to access array offset on value of type null in /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1167
       [30-Oct-2020 03:33:43 UTC] PHP Notice:  Trying to access array offset on value of type null in /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1168
       [30-Oct-2020 03:33:43 UTC] PHP Notice:  Trying to access array offset on value of type null in /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1169
       [30-Oct-2020 03:33:43 UTC] PHP Notice:  Trying to access array offset on value of type null in /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php on line 1195
       [30-Oct-2020 03:33:43 UTC] PHP Fatal error:  Uncaught Error: Call to a member function withSubServices() on bool in /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/slots/Finder.php:411
       Stack trace:
       #0 /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/slots/Finder.php(106): Bookly\Lib\Slots\Finder->_prepareStaffData()
       #1 /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/Ajax.php(208): Bookly\Lib\Slots\Finder->prepare()
       #2 [internal function]: Bookly\Frontend\Modules\Booking\Ajax::renderTime()
       #3 /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/base/Ajax.php(52): call_user_func(Array)
       #4 /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/base/Ajax.php(31): Bookly\Lib\Base\Ajax::forward('renderTime', true, true)
       #5 /nas/content/live/thedirt4wd/wp-includes/class-wp-hook.php(287): Bookly\Lib\Base\Ajax::Bookly\Lib\B in /nas/content/live/thedirt4wd/wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/slots/Finder.php on line 411
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadmin-ajax-error-500%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Bookly](https://wordpress.org/support/users/ladela/)
 * (@ladela)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/admin-ajax-error-500/#post-13601652)
 * Hi!
 * We’d like to help you here but we can’t.
 * We are restricted from providing any support for the PRO version here. For PRO
   or commercial product support please contact us directly on our site.
 * This includes any pre-sales topics as well. I am sure we will have no problem
   supporting you on our own site.
 *  [webchina](https://wordpress.org/support/users/webchina/)
 * (@webchina)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/admin-ajax-error-500/#post-14186008)
 * Hi Scott!
 * Have you solved it? I have the same problem.
 * Thanks!
 *  Plugin Author [Bookly](https://wordpress.org/support/users/ladela/)
 * (@ladela)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/admin-ajax-error-500/#post-14188418)
 * Hello [@webchina](https://wordpress.org/support/users/webchina/),
 * Please, contact us directly via our website and we will be glad to assist you.

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

The topic ‘Admin Ajax Error 500’ is closed to new replies.

 * ![](https://ps.w.org/bookly-responsive-appointment-booking-tool/assets/icon-256x256.
   png?rev=2847809)
 * [Online Scheduling and Appointment Booking System – Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/)
 * [Active Topics](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bookly-responsive-appointment-booking-tool/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Bookly](https://wordpress.org/support/users/ladela/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/admin-ajax-error-500/#post-14188418)
 * Status: resolved