init(); } catch ( \Exception $e ) { // This file scope runs on every request, so the report has to be gated. // class_exists() first: on a partial install — the case the class_exists() // guard above exists for — touching Debug would raise an Error inside a // catch block, which nothing catches. if ( ! class_exists( Debug::class ) || Debug::throttleGate( 'init_plugin_failed_' . get_class( $e ) ) ) { do_action( 'imunify_security_set_error', E_WARNING, 'Init plugin failed: ' . $e->getMessage(), __FILE__, __LINE__, array( 'fingerprint' => array( 'init-plugin-failed', get_class( $e ) ), ) ); } }