Title: Missing Dependencies
Last modified: May 12, 2022

---

# Missing Dependencies

 *  [nyper](https://wordpress.org/support/users/nyper/)
 * (@nyper)
 * [4 years ago](https://wordpress.org/support/topic/missing-dependencies-26/)
 * i have query monitor on my wordpress, and I got these 1 error which are related
   to your plugin on styles.
 * Position: Missing Dependencies
    Handle: yith-wcwl-main Source: wp-content/plugins/
   yith-woocommerce-wishlist/assets/css/style.css

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [nyper](https://wordpress.org/support/users/nyper/)
 * (@nyper)
 * [4 years ago](https://wordpress.org/support/topic/missing-dependencies-26/#post-15641373)
 * Dependencies: jquery-selectBox, yith-wcwl-font-awesome (missing), woocommerce_prettyPhoto_css
 *  [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * (@juaancmendez)
 * [4 years ago](https://wordpress.org/support/topic/missing-dependencies-26/#post-15643251)
 * Hello there,
    hope you’re doing well!
 * It is possible that this is due to the lack of libraries that our plugin uses
   and that should be loaded. In order To fix this, try adding this code to your
   active child theme’s **functions.php** file:
 *     ```
       if ( defined( 'YITH_WCWL' )) {
       	if( ! function_exists( 'yith_wcwl_enqueue_back_required_assets' ) ) {
       		function yith_wcwl_enqueue_back_required_assets() {
       			$suffix  = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
       			$version = defined( 'WC_VERSION' ) ? WC_VERSION : '';
   
       			wp_enqueue_style( 'woocommerce_prettyPhoto_css', plugins_url( 'assets/css/prettyPhoto.css', WC_PLUGIN_FILE ), array(), $version );
       			wp_enqueue_script( 'prettyPhoto', plugins_url( 'assets/js/prettyPhoto/jquery.prettyPhoto' . $suffix . '.js', WC_PLUGIN_FILE ), array( 'jquery' ), '3.1.6' );
       			wp_enqueue_script( 'prettyPhoto-init', plugins_url( 'assets/js/prettyPhoto/jquery.prettyPhoto.init' . $suffix . '.js', WC_PLUGIN_FILE ), array( 'jquery' ), $version );
   
       			wp_enqueue_style( 'yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css', array( 'jquery-selectBox' ) );
       		}
           	add_action( 'wp_enqueue_scripts', 'yith_wcwl_enqueue_back_required_assets', 100 );
       	}
   
       	if ( ! function_exists( 'ywfav_add_fontawesome' ) ) {
       		function ywfav_add_fontawesome() {
               	wp_enqueue_style( 'fontawsome', 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
           	}	
       		add_action( 'wp_enqueue_scripts', 'ywfav_add_fontawesome', 99 );	
       	}
   
       }
       ```
   
 * Check it out and tell us if it works well for you, please.
 * We will be attentive to your response.
 * Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Missing Dependencies’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-wishlist/assets/icon-128x128.gif?rev=3129302)
 * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-wishlist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/missing-dependencies-26/#post-15643251)
 * Status: not resolved