llback, 'priority' => $priority, 'accepted_args' => $accepted_args, ); return $hooks; } /** * Register the filters and actions with WordPress. * * @since 3.0.0 */ public function run() { foreach ( $this->filters as $hook ) { add_filter( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); } foreach ( $this->actions as $hook ) { add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] ); } } }
Fatal error: Uncaught Error: Class "CookieYes\Lite\Includes\Loader" not found in /htdocs/surfshop.ma/wp-content/plugins/cookie-law-info/lite/includes/class-cli.php:126 Stack trace: #0 /htdocs/surfshop.ma/wp-content/plugins/cookie-law-info/lite/includes/class-cli.php(93): CookieYes\Lite\Includes\CLI->load_dependencies() #1 /htdocs/surfshop.ma/wp-content/plugins/cookie-law-info/lite/loader.php(31): CookieYes\Lite\Includes\CLI->__construct() #2 /htdocs/surfshop.ma/wp-content/plugins/cookie-law-info/cookie-law-info.php(151): require_once('/htdocs/surfsho...') #3 /htdocs/surfshop.ma/wp-settings.php(526): include_once('/htdocs/surfsho...') #4 /htdocs/surfshop.ma/wp-config.php(98): require_once('/htdocs/surfsho...') #5 /htdocs/surfshop.ma/wp-load.php(50): require_once('/htdocs/surfsho...') #6 /htdocs/surfshop.ma/wp-blog-header.php(13): require_once('/htdocs/surfsho...') #7 /htdocs/surfshop.ma/index.php(17): require('/htdocs/surfsho...') #8 {main} thrown in /htdocs/surfshop.ma/wp-content/plugins/cookie-law-info/lite/includes/class-cli.php on line 126