Nested Conditionals in WP Events Manager

Today I had to troubleshoot an Events Manager issue which turned out to be caused by the plugin’s code being set up to process one conditional at a time. For example the following code will execute only the first conditional, {is_future}{/is_future}:

 {has_image}Show the image as #_EVENTIMAGEURL{/has_image}
 {no_image}Show a default image{/no_image}

The {has_image} and {no_image} conditionals will be ignored.

To fix this you must manually edit your wp_options table:

option_name = dbem_conditional_recursions
option_value = 2

Set the value to 1 or more. In this case you would use 2 since there are 2 nested conditionals to consider.