Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Display bug in cart.php when $attendee_overflow | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Display bug in cart.php when $attendee_overflow

Display bug in cart.php when $attendee_overflow

Posted: July 14, 2013 at 1:14 pm

Viewing 1 reply thread


Rob Mougey

July 14, 2013 at 1:14 pm

I’m using 3.1.33.3.P and noticed a small bug in cart.php.

If I have a maximum of 10 registrations allowed for an event, and try to “Enter Attendee Information” with zero selected in the dropdown, I get this message:

AttentionFor My Event, please make sure to select between 1 and 11 attendees or delete it from your cart.

There needs to be a space after “Attention”, and it looks like there is an off-by-one error computing the max number to display (11 instead of 10).


Dean

  • Support Staff

July 15, 2013 at 1:19 am

Hi Rob,

Thanks for letting us know.

The Attention doesnt have a space after it, thats correct, it was coded so the default CSS will display:block the word attention and thus drop the rest of the content below it.

I will raise a developer ticket to look into the extra count, it looks like it is counting 0 into the mix as PHP tends to do.

Viewing 1 reply thread

The support post ‘Display bug in cart.php when $attendee_overflow’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server