Title: Error &#8211; Capacity: undefined
Last modified: July 16, 2022

---

# Error – Capacity: undefined

 *  Resolved [ckloh](https://wordpress.org/support/users/ckloh/)
 * (@ckloh)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-capacity-undefined/)
 * When on a service page,
 * 1) click the <– Category Name to go back to category listing
    2) click on another
   service
 * The 2nd service page that opens shows “Capacity: undefined”, Employees empty 
   details, and loading spinner keeps spinning.
 * If the 2nd service clicked has the same employee as the 1st service, then the
   error doesn’t appear.
 * Have tried disabling all plugins but the error still exists.
 * Console error msg :
 * TypeError: Cannot read properties of undefined (reading ‘mandatoryExtra’)
    at
   o.checkMandatoryExtras (amelia-booking-catalog-3db0f3e3baad64c575b9.js:1:340636)
   at o.fetchedEntities (amelia-booking-catalog-3db0f3e3baad64c575b9.js:1:347263)
   at o.mounted (amelia-booking-catalog-3db0f3e3baad64c575b9.js:1:337241) at Ve (
   amelia-booking.js?ver=4.4.1:1:1000678) at tn (amelia-booking.js?ver=4.4.1:1:1014530)
   at Object.insert (amelia-booking.js?ver=4.4.1:1:1009575) at S (amelia-booking.
   js?ver=4.4.1:1:1049265) at o.__patch__ (amelia-booking.js?ver=4.4.1:1:1050623)
   at e._update (amelia-booking.js?ver=4.4.1:1:1022976) at pn.before (amelia-booking.
   js?ver=4.4.1:1:1057243)
 * Please help!
    -  This topic was modified 3 years, 11 months ago by [ckloh](https://wordpress.org/support/users/ckloh/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * (@ameliabooking)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-capacity-undefined/#post-15838845)
 * Hi there.
 * We see you marked this topic as resolved, so we assume you were able to fix it?
 * Please let us know if there’s anything we can do to help.
 * Kind regards.

Viewing 1 replies (of 1 total)

The topic ‘Error – Capacity: undefined’ is closed to new replies.

 * ![](https://ps.w.org/ameliabooking/assets/icon-256x256.png?rev=3429091)
 * [Booking for Appointments and Events Calendar - Amelia](https://wordpress.org/plugins/ameliabooking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ameliabooking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ameliabooking/)
 * [Active Topics](https://wordpress.org/support/plugin/ameliabooking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ameliabooking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ameliabooking/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/error-capacity-undefined/#post-15838845)
 * Status: resolved