Title: jQuery &#8211; missing dependency
Last modified: February 19, 2021

---

# jQuery – missing dependency

 *  [starkcodes](https://wordpress.org/support/users/starkcodes/)
 * (@starkcodes)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/jquery-missing-dependency/)
 * Hey,
 * In the file /modules/valuation/core.php you include a Script.
    But you don’t 
   define jQuery as dependency. See [https://developer.wordpress.org/reference/functions/wp_register_script/](https://developer.wordpress.org/reference/functions/wp_register_script/)
 * `wp_register_script('FF-valuation-chosen-' . $theme, plugins_url('/assets/js/'.
   $theme . '/chosen.jquery.min.js', __FILE__), '', '1.0.1', true);`
 * Should be:
    `wp_register_script('FF-valuation-chosen-' . $theme, plugins_url('/
   assets/js/' . $theme . '/chosen.jquery.min.js', __FILE__), array ('jquery'), '
   1.0.1', true);`
 * I have to fix it on every update.

The topic ‘jQuery – missing dependency’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/flowfact-wp-connector_797099.svg)
 * [FLOWFACT WP Connector](https://wordpress.org/plugins/flowfact-wp-connector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flowfact-wp-connector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flowfact-wp-connector/)
 * [Active Topics](https://wordpress.org/support/plugin/flowfact-wp-connector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flowfact-wp-connector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flowfact-wp-connector/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 0 replies
 * 1 participant
 * Last reply from: [starkcodes](https://wordpress.org/support/users/starkcodes/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/jquery-missing-dependency/)
 * Status: not resolved