
An InvalidArgumentException was thrown! code: EspressoTicketSelector - processShortcode - 75
"A valid Event ID is required to use the "ESPRESSO_TICKET_SELECTOR" shortcode.
An Event with an ID of "117888" could not be found.
Please verify that the shortcode added to this post's content includes an "event_id" argument and that it's value corresponds to a valid Event ID."
click to view backtrace and class/method details
/usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoTicketSelector.php ( line no: 75 )
Class Details
/** * Class EspressoTicketSelector * ESPRESSO_TICKET_SELECTOR shortcode * * @package Event Espresso * @author Brent Christensen */ Class [class EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector extends EventEspresso\core\services\shortcodes\EspressoShortcode implements EventEspresso\core\services\shortcodes\ShortcodeInterface ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoTicketSelector.php 18-96 - Constants [1] { Constant [ public string CACHE_TRANSIENT_PREFIX ] { ee_sc_ } } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [9] { /** * the actual shortcode tag that gets registered with WordPress * * @return string */ Method [ public method getTag ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoTicketSelector.php 27 - 30 } /** * the time in seconds to cache the results of the processShortcode() method * 0 means the processShortcode() results will NOT be cached at all * * @return int */ Method [ public method cacheExpiration ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoTicketSelector.php 39 - 42 } /** * a place for adding any initialization code that needs to run prior to wp_header(). * this may be required for shortcodes that utilize a corresponding module, * and need to enqueue assets for that module * * @return void */ Method [ public method initializeShortcode ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoTicketSelector.php 52 - 56 } /** * callback that runs when the shortcode is encountered in post content. * IMPORTANT !!! * remember that shortcode content should be RETURNED and NOT echoed out * * @param array $attributes * @return string * @throws InvalidArgumentException */ Method [ public method processShortcode ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoTicketSelector.php 68 - 95 - Parameters [1] { Parameter #0 [ $attributes = Array ] } } /** * EspressoShortcode constructor * * @param PostRelatedCacheManager $cache_manager */ Method [ public method __construct ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php 48 - 51 - Parameters [1] { Parameter #0 [ EventEspresso\core\services\cache\PostRelatedCacheManager $cache_manager ] } } /** * @return void */ Method [ public method shortcodeHasBeenInitialized ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php 57 - 60 } /** * enqueues scripts then processes the shortcode * * @param array $attributes * @return string * @throws EE_Error */ Method [ final public method processShortcodeCallback ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php 70 - 82 - Parameters [1] { Parameter #0 [ $attributes = Array ] } } /** * array for defining custom attribute sanitization callbacks, * where keys match keys in your attributes array, * and values represent the sanitization function you wish to be applied to that attribute. * So for example, if you had an integer attribute named "event_id" * that you wanted to be sanitized using absint(), * then you would return the following: * array('event_id' => 'absint') * Entering 'skip_sanitization' for the callback value * means that no sanitization will be applied * on the assumption that the attribute * will be sanitized at some point... right? * You wouldn't pass around unsanitized attributes would you? * That would be very Tom Foolery of you!!! * * @return array */ Method [ protected method customAttributeSanitizationMap ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php 173 - 176 } /** * Returns whether or not this shortcode has been initialized * * @return boolean */ Method [ public method initialized ] { @@ /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php 235 - 238 } } }
IAWA Lausanne
Quand:
28 mai 2020
à partir de 18h30
Où:
Le Rhino Féroce | Rue du Port-Franc 11 | Lausanne
Quoi:
Musique, entrée gratuite, bon pour un boisson, snacks
Contact:
TRAVEL INSIDE, Primus Edition SA
Hammerstrasse 81 | 8032 Zurich
Téléphon +41 44 387 57 57 | E-Mail: events@travelinside.ch
28 mai 2020
à partir de 18h30
Où:
Le Rhino Féroce | Rue du Port-Franc 11 | Lausanne
Quoi:
Musique, entrée gratuite, bon pour un boisson, snacks
Contact:
TRAVEL INSIDE, Primus Edition SA
Hammerstrasse 81 | 8032 Zurich
Téléphon +41 44 387 57 57 | E-Mail: events@travelinside.ch
