I have been trying to get the front end of my site to show only the best price but whenever I try all the code snippets (https://gist.github.com/joshfeck/8736a20cbfacf5d5b97a) found in this forums I get the following error with tickets no longer displayed
Warning: Missing argument 2 for change_ee_ticket_selector_base_price_display(), called in /home/folabi/public_html/wp-includes/class-wp-hook.php on line 298 and defined in /home/folabi/public_html/wp-content/themes/Avada-child/functions.php on line 148
Fatal error: Method EventEspresso\modules\ticket_selector\TicketSelectorStandard::__toString() must not throw an exception, caught Error: Call to a member function base_price() on null in /home/folabi/public_html/wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/DisplayTicketSelector.php on line 0
Specifically that you have the number 2 at the end. 10 is the prioirty, 2 is the number of arguments passed to the filter and your function. It sounds like you have that set to 1 and it should be 2.
Viewing 1 reply thread
The support post ‘Ticket Selector base price display errors’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.