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
Event is full - but not showing "FULL" | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Event is full – but not showing "FULL"

Event is full – but not showing "FULL"

Posted: January 14, 2014 at 3:17 am

Viewing 2 reply threads


knut pedersen

January 14, 2014 at 3:17 am

Im almost done now with setting up espresso and it is looking good. I even made it LIVE yesterday, thinking i was finished.

But, what i see is when the class is FULL, it do not change “sign” from register to closed. I see that both images is there they should be, but it still say register. When clicking on it, then it say its closed.. and no chance to register.

Is there a easy way to fix this?

You can see image of it here http://familiehunden.no/wp-content/uploads/2014/01/2014-01-14_110945.png

Hope you can help me.

thanks a lot.


Dean

  • Support Staff

January 14, 2014 at 6:26 am

Hi Knut,

It looks like it’s a bug where it is using a function that doesn’t exist yet so it is returning the wrong value.

I will raise a ticket to fix this, but if you don’t mind editing the template we can get it working for you now.

In the espresso-template-calendar-table/index.php file, at about line 70 you will see this.

if ( ! has_filter( 'filter_hook_espresso_get_num_available_spaces' ) ){
$open_spots = apply_filters('filter_hook_espresso_get_num_available_spaces', $event->id); //Available in 3.1.37
}else{
$open_spots	= get_number_of_attendees_reg_limit($event->id, 'number_available_spaces', '');
}

Change it to read this

if ( has_filter( 'filter_hook_espresso_get_num_available_spaces' ) ){
$open_spots = apply_filters('filter_hook_espresso_get_num_available_spaces', $event->id); //Available in 3.1.37
}else{
$open_spots	= get_number_of_attendees_reg_limit($event->id, 'number_available_spaces', '');
}

All you are doing is removing the exclamation mark ( ! ) from before the has_filter line.


knut pedersen

January 14, 2014 at 7:25 am

Thanks a lot!That worked :-)

Viewing 2 reply threads

The support post ‘Event is full – but not showing "FULL"’ 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