The view. */ public function set_context_for_views_v2_setup_loop( $view ) { // We need further context to determine if we should hide the end time for a particular area. $this->end_time_modifier->set_context( $view->get_context() ); } /** * Sets the context for the views v2 end time view modifier. * * @since 6.4.1 * * @param string $html The HTML to be filtered. * @param string $view_slug The view slug. * @param array $query The query. * @param array $context The context. */ public function set_context_for_views_v2_endtime( $html, $view_slug, $query, $context ) { // We need further context to determine if we should hide the end time for a particular area. $this->end_time_modifier->set_context( $context ); } }
Fatal error: Uncaught TEC\Common\Exceptions\Not_Bound_Exception: Error while making Tribe\Events\Views\V2\Hide_End_Time_Provider: nothing is bound to the 'Tribe\Events\Views\V2\Hide_End_Time_Provider' id and it's not an existing or instantiable class. in /htdocs/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php:27 Stack trace: #0 /htdocs/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(461): TEC\Common\Contracts\Container->get('Tribe\\Events\\Vi...') #1 /htdocs/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php(46): TEC\Common\lucatume\DI52\Container->register('Tribe\\Events\\Vi...') #2 /htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Hooks.php(59): TEC\Common\Contracts\Container->register('Tribe\\Events\\Vi...') #3 /htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Service_Provider.php(85): Tribe\Events\Views\V2\Hooks->register() #4 /htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Service_Provider.php(56): Tribe\Events\Views\V2\Service_Provider->register_hooks() #5 /htdocs/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(463): Tribe\Events\Views\V2\Service_Provider->register() #6 /htdocs/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php(46): TEC\Common\lucatume\DI52\Container->register('Tribe\\Events\\Vi...') #7 /htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(305): TEC\Common\Contracts\Container->register('Tribe\\Events\\Vi...') #8 /htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(655): tribe_register_provider('Tribe\\Events\\Vi...') #9 /htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(528): Tribe__Events__Main->bind_implementations() #10 /htdocs/wp-includes/class-wp-hook.php(324): Tribe__Events__Main->bootstrap('') #11 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #12 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Main.php(128): do_action('tribe_common_lo...') #14 /htdocs/wp-includes/class-wp-hook.php(324): Tribe__Main->plugins_loaded('') #15 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #16 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #17 /htdocs/wp-settings.php(555): do_action('plugins_loaded') #18 /htdocs/wp-config.php(92): require_once('/htdocs/wp-sett...') #19 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #20 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #21 /htdocs/index.php(17): require('/htdocs/wp-blog...') #22 {main} thrown in /htdocs/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php on line 27