this->get_template()->template( $this->slug, wp_parse_args( $context ), $echo ); } /** * Gets the template instance used to setup the rendering html. * * @since 6.7.0 * * @return Tribe__Template */ public function get_template(): Tribe__Template { if ( empty( $this->template ) ) { $this->template = new Tribe__Template(); $this->template->set_template_origin( \Tribe__Events__Main::instance() ); $this->template->set_template_folder( 'src/admin-views/settings/upsells/' ); $this->template->set_template_context_extract( true ); $this->template->set_template_folder_lookup( false ); } return $this->template; } }
Fatal error: Uncaught TEC\Common\Exceptions\Not_Bound_Exception: Error while making TEC\Events\Admin\Settings\Community_Upsell: nothing is bound to the 'TEC\Events\Admin\Settings\Community_Upsell' 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(460): TEC\Common\Contracts\Container->get('TEC\\Events\\Admi...') #1 /htdocs/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php(46): TEC\Common\lucatume\DI52\Container->register('TEC\\Events\\Admi...') #2 /htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(305): TEC\Common\Contracts\Container->register('TEC\\Events\\Admi...') #3 /htdocs/wp-content/plugins/the-events-calendar/src/Events/Admin/Settings/Provider.php(36): tribe_register_provider('TEC\\Events\\Admi...') #4 /htdocs/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(462): TEC\Events\Admin\Settings\Provider->register() #5 /htdocs/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php(46): TEC\Common\lucatume\DI52\Container->register('TEC\\Events\\Admi...') #6 /htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(305): TEC\Common\Contracts\Container->register('TEC\\Events\\Admi...') #7 /htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(703): tribe_register_provider('TEC\\Events\\Admi...') #8 /htdocs/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(528): Tribe__Events__Main->bind_implementations() #9 /htdocs/wp-includes/class-wp-hook.php(324): Tribe__Events__Main->bootstrap('') #10 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #11 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /htdocs/wp-content/plugins/the-events-calendar/common/src/Tribe/Main.php(128): do_action('tribe_common_lo...') #13 /htdocs/wp-includes/class-wp-hook.php(324): Tribe__Main->plugins_loaded('') #14 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #15 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #16 /htdocs/wp-settings.php(559): do_action('plugins_loaded') #17 /htdocs/wp-config.php(107): require_once('/htdocs/wp-sett...') #18 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #19 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #20 /htdocs/index.php(17): require('/htdocs/wp-blog...') #21 {main} thrown in /htdocs/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php on line 27