text The text displayed to the user when they agreed to opt-in. * * @return void */ public function opt_in( string $stellar_slug, string $opt_in_text = '' ) { $this->container->get( Status::class )->set_status( true, $stellar_slug ); try { $this->container->get( Telemetry::class )->register_site(); $this->container->get( Telemetry::class )->register_user( $stellar_slug, $opt_in_text ); } catch ( \Error $e ) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch // We don't want to throw errors if the server cannot be reached. } } }
Fatal error: Uncaught Error: Class "iThemesSecurity\Strauss\StellarWP\Telemetry\Opt_In\Opt_In_Subscriber" not found in /htdocs/wp-content/plugins/better-wp-security/vendor-prod/stellarwp/telemetry/src/Telemetry/Core.php:182 Stack trace: #0 /htdocs/wp-content/plugins/better-wp-security/vendor-prod/stellarwp/telemetry/src/Telemetry/Core.php(109): iThemesSecurity\Strauss\StellarWP\Telemetry\Core->init_container('/htdocs/wp-cont...') #1 /htdocs/wp-content/plugins/better-wp-security/core/modules.php(841): iThemesSecurity\Strauss\StellarWP\Telemetry\Core->init('/htdocs/wp-cont...') #2 /htdocs/wp-content/plugins/better-wp-security/core/modules.php(917): ITSEC_Modules::initialize_container() #3 /htdocs/wp-content/plugins/better-wp-security/core/modules.php(752): ITSEC_Modules::get_container() #4 /htdocs/wp-content/plugins/better-wp-security/core/modules.php(228): ITSEC_Modules::load_module_file('settings.php', Array) #5 /htdocs/wp-content/plugins/better-wp-security/core/modules.php(306): ITSEC_Modules::get_settings_obj('global') #6 /htdocs/wp-content/plugins/better-wp-security/core/core.php(704): ITSEC_Modules::get_setting('global', 'build') #7 /htdocs/wp-content/plugins/better-wp-security/core/core.php(637): ITSEC_Core::get_saved_plugin_build() #8 /htdocs/wp-content/plugins/better-wp-security/core/core.php(619): ITSEC_Core::needs_upgrade() #9 /htdocs/wp-includes/class-wp-hook.php(322): ITSEC_Core->handle_upgrade() #10 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #11 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /htdocs/wp-settings.php(550): do_action('plugins_loaded') #13 /htdocs/wp-config.php(94): require_once('/htdocs/wp-sett...') #14 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #15 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #16 /htdocs/index.php(17): require('/htdocs/wp-blog...') #17 {main} thrown in /htdocs/wp-content/plugins/better-wp-security/vendor-prod/stellarwp/telemetry/src/Telemetry/Core.php on line 182