Title: Maximum occupancy error missing the allowed number.
Last modified: March 14, 2018

---

# Maximum occupancy error missing the allowed number.

 *  Resolved [bigimprintwebmaster](https://wordpress.org/support/users/bigimprintwebmaster/)
 * (@bigimprintwebmaster)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/maximum-occupancy-error-missing-the-allowed-number/)
 * When entering a number of attendees higher than the max occupancy for a room,
   the error message says:
 * > The maximum occupancy of this room is . Please enter a valid Number of attendees
   > field.
 * The actual allowed occupancy number is missing from the message.
 * The PHP notices say:
 *     ```
       Notice: Undefined variable: incrementList in /wp-content/plugins/book-a-room/bookaroom-meetings-public.php on line 400
       Notice: Undefined variable: i in /www/wp-content/plugins/book-a-room/bookaroom-meetings-public.php on line 400
       ```
   
 * Thanks!

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

 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/maximum-occupancy-error-missing-the-allowed-number/#post-10074884)
 * I found the bug causing this and have made a new version that should be live 
   momentarily. Please update your plugin and try again.
 *  Thread Starter [bigimprintwebmaster](https://wordpress.org/support/users/bigimprintwebmaster/)
 * (@bigimprintwebmaster)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/maximum-occupancy-error-missing-the-allowed-number/#post-10074953)
 * My head is spinning from how fast this was resolved. Works great. Thanks!
 *  Plugin Author [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * (@chuhpl)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/maximum-occupancy-error-missing-the-allowed-number/#post-10074959)
 * Glad I could help!

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

The topic ‘Maximum occupancy error missing the allowed number.’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/book-a-room_f4ece6.svg)
 * [Book a Room](https://wordpress.org/plugins/book-a-room/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/book-a-room/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/book-a-room/)
 * [Active Topics](https://wordpress.org/support/plugin/book-a-room/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/book-a-room/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/book-a-room/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Cleveland Heights-University Heights Public Library Webdeveloper](https://wordpress.org/support/users/chuhpl/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/maximum-occupancy-error-missing-the-allowed-number/#post-10074959)
 * Status: resolved