@param string $hook_name Hook name. * @param mixed $parameters Parameters, can be a string, an array or a multidimensional array. */ private function remove_subscriber_callback( SubscriberInterface $subscriber, $hook_name, $parameters ) { if ( is_string( $parameters ) ) { $this->remove_callback( $hook_name, [ $subscriber, $parameters ] ); } elseif ( is_array( $parameters ) && count( $parameters ) !== count( $parameters, COUNT_RECURSIVE ) ) { foreach ( $parameters as $parameter ) { $this->remove_subscriber_callback( $subscriber, $hook_name, $parameter ); } } elseif ( is_array( $parameters ) && isset( $parameters[0] ) ) { $this->remove_callback( $hook_name, [ $subscriber, $parameters[0] ], isset( $parameters[1] ) ? $parameters[1] : 10 ); } } }
Fatal error: Uncaught Error: Class "Imagify\EventManagement\EventManager" not found in /htdocs/wp-content/plugins/imagify/classes/Plugin.php:92 Stack trace: #0 [internal function]: Imagify\Plugin->Imagify\{closure}() #1 /htdocs/wp-content/plugins/imagify/classes/Dependencies/League/Container/Definition/Definition.php(239): call_user_func_array(Object(Closure), Array) #2 /htdocs/wp-content/plugins/imagify/classes/Dependencies/League/Container/Definition/Definition.php(198): Imagify\Dependencies\League\Container\Definition\Definition->resolveCallable(Object(Closure)) #3 /htdocs/wp-content/plugins/imagify/classes/Dependencies/League/Container/Definition/DefinitionAggregate.php(94): Imagify\Dependencies\League\Container\Definition\Definition->resolve(false) #4 /htdocs/wp-content/plugins/imagify/classes/Dependencies/League/Container/Container.php(157): Imagify\Dependencies\League\Container\Definition\DefinitionAggregate->resolve('event_manager', false) #5 /htdocs/wp-content/plugins/imagify/classes/Plugin.php(255): Imagify\Dependencies\League\Container\Container->get('event_manager') #6 /htdocs/wp-content/plugins/imagify/classes/Plugin.php(145): Imagify\Plugin->load_subscribers(Object(Imagify\Admin\ServiceProvider)) #7 /htdocs/wp-content/plugins/imagify/inc/main.php(33): Imagify\Plugin->init(Array) #8 /htdocs/wp-includes/class-wp-hook.php(324): imagify_init('') #9 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(Object(MonsterInsights_Lite), Array) #10 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /htdocs/wp-settings.php(555): do_action('plugins_loaded') #12 /htdocs/wp-config.php(106): require_once('/htdocs/wp-sett...') #13 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #14 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #15 /htdocs/index.php(17): require('/htdocs/wp-blog...') #16 {main} thrown in /htdocs/wp-content/plugins/imagify/classes/Plugin.php on line 92