
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 "125387" 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 )
# | Line | File | Class->Method( arguments ) |
---|---|---|---|
17 | /usr/www/users/abouttra/index.php | require( '/usr/www/users/abouttra/wp-blog-header.php' ) | |
1 | 19 | /usr/www/users/abouttra/wp-blog-header.php | require_once( '/usr/www/users/abouttra/wp-includes/template-loader.php' ) |
2 | 106 | /usr/www/users/abouttra/wp-includes/template-loader.php | include( '/usr/www/users/abouttra/wp-content/themes/Primus/single.php' ) |
3 | 30 | /usr/www/users/abouttra/wp-content/themes/Primus/single.php | locate_template( 'loop-single.php', true ) |
4 | 716 | /usr/www/users/abouttra/wp-includes/template.php | load_template( '/usr/www/users/abouttra/wp-content/themes/Primus/loop-single.php', true, array() ) |
5 | 770 | /usr/www/users/abouttra/wp-includes/template.php | require_once( '/usr/www/users/abouttra/wp-content/themes/Primus/loop-single.php' ) |
6 | 56 | /usr/www/users/abouttra/wp-content/themes/Primus/loop-single.php | td_module_single_base->get_content() |
7 | 357 | /usr/www/users/abouttra/wp-content/themes/Primus/includes/wp_booster/td_module_single_base.php | apply_filters( 'the_content', '[ESPRESSO_TICKET_SELECTOR event_id=125387] IAWA Giesserei OerlikonWann:
24. Oktober 2019
ab 19h00
Wo:
Giesserei Oerlikon | Birchstrasse 108 | Zürich
Was:
Musik, kostenloser und exklusiver Eintritt, 1 Getränkebon, Snacks
Kontakt:
TRAVEL INSIDE, Primus Publishing AG
Hammerstrasse 81 | 8032 Zürich
Telefon +41 44 387 57 57 | E-Mail: events@travelinside.ch
![]() ) |
8 | 189 | /usr/www/users/abouttra/wp-includes/plugin.php | WP_Hook->apply_filters( '[ESPRESSO_TICKET_SELECTOR event_id=125387] IAWA Giesserei OerlikonWann:
24. Oktober 2019 ab 19h00 Wo: Giesserei Oerlikon | Birchstrasse 108 | Zürich Was: Musik, kostenloser und exklusiver Eintritt, 1 Getränkebon, Snacks Kontakt: TRAVEL INSIDE, Primus Publishing AG Hammerstrasse 81 | 8032 Zürich Telefon +41 44 387 57 57 | E-Mail: events@travelinside.ch ![]() , array( '[ESPRESSO_TICKET_SELECTOR event_id=125387] IAWA Giesserei OerlikonWann:
24. Oktober 2019 ab 19h00 Wo: Giesserei Oerlikon | Birchstrasse 108 | Zürich Was: Musik, kostenloser und exklusiver Eintritt, 1 Getränkebon, Snacks Kontakt: TRAVEL INSIDE, Primus Publishing AG Hammerstrasse 81 | 8032 Zürich Telefon +41 44 387 57 57 | E-Mail: events@travelinside.ch ![]() ) ) |
9 | 303 | /usr/www/users/abouttra/wp-includes/class-wp-hook.php | do_shortcode( '[ESPRESSO_TICKET_SELECTOR event_id=125387] IAWA Giesserei OerlikonWann:
24. Oktober 2019 ab 19h00 Wo: Giesserei Oerlikon | Birchstrasse 108 | Zürich Was: Musik, kostenloser und exklusiver Eintritt, 1 Getränkebon, Snacks Kontakt: TRAVEL INSIDE, Primus Publishing AG Hammerstrasse 81 | 8032 Zürich Telefon +41 44 387 57 57 | E-Mail: events@travelinside.ch ![]() ) |
10 | 228 | /usr/www/users/abouttra/wp-includes/shortcodes.php | preg_replace_callback( '/\[(\[?)(ESPRESSO_TICKET_SELECTOR)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/' , 'do_shortcode_tag', '[ESPRESSO_TICKET_SELECTOR event_id=125387] IAWA Giesserei OerlikonWann:
24. Oktober 2019 ab 19h00 Wo: Giesserei Oerlikon | Birchstrasse 108 | Zürich Was: Musik, kostenloser und exklusiver Eintritt, 1 Getränkebon, Snacks Kontakt: TRAVEL INSIDE, Primus Publishing AG Hammerstrasse 81 | 8032 Zürich Telefon +41 44 387 57 57 | E-Mail: events@travelinside.ch ![]() ) |
11 | do_shortcode_tag( array( '[ESPRESSO_TICKET_SELECTOR event_id=125387]', '', 'ESPRESSO_TICKET_SELECTOR', ' event_id=125387', '', '', '' ) ) |
||
12 | 356 | /usr/www/users/abouttra/wp-includes/shortcodes.php | EventEspresso\core\services\shortcodes\EspressoShortcode->processShortcodeCallback( array( '125387' ), '', 'ESPRESSO_TICKET_SELECTOR' ) |
13 | 80 | /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php | EventEspresso\core\services\shortcodes\EspressoShortcode->shortcodeContent( array( '125387' ) ) |
14 | 115 | /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/EspressoShortcode.php | EventEspresso\core\services\cache\BasicCacheManager->get( 'SC_TICKET_SELECTOR-104097', 'ee_cache_post_SC_TICKET_SELECTOR-104097-82f09c3e709f23b43e89cc8607459b98', Closure, 0 ) |
15 | 90 | /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/services/cache/BasicCacheManager.php | EventEspresso\core\services\shortcodes\EspressoShortcode->EventEspresso\core\services\shortcodes\{closure}() |
16 | 75 | /usr/www/users/abouttra/wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoTicketSelector.php | EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector->processShortcode( array( '125387' ) ) |
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 Giesserei Oerlikon
Wann:
24. Oktober 2019
ab 19h00
Wo:
Giesserei Oerlikon | Birchstrasse 108 | Zürich
Was:
Musik, kostenloser und exklusiver Eintritt, 1 Getränkebon, Snacks
Kontakt:
TRAVEL INSIDE, Primus Publishing AG
Hammerstrasse 81 | 8032 Zürich
Telefon +41 44 387 57 57 | E-Mail: events@travelinside.ch
24. Oktober 2019
ab 19h00
Wo:
Giesserei Oerlikon | Birchstrasse 108 | Zürich
Was:
Musik, kostenloser und exklusiver Eintritt, 1 Getränkebon, Snacks
Kontakt:
TRAVEL INSIDE, Primus Publishing AG
Hammerstrasse 81 | 8032 Zürich
Telefon +41 44 387 57 57 | E-Mail: events@travelinside.ch

