Title: JS error: datepicker is not a function
Last modified: March 29, 2019

---

# JS error: datepicker is not a function

 *  Resolved [cunnningstunts](https://wordpress.org/support/users/cunnningstunts/)
 * (@cunnningstunts)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-datepicker-is-not-a-function/)
 * erp-accounting.js?ver=20190329:980 Uncaught TypeError: $(…).datepicker is not
   a function
 * Using the dev version from Github.
 * This error is shown in areas of the WP admin outside of ERP. Would it be possible
   to only load the ERP resources when accessing the ERP area?
    -  This topic was modified 7 years, 2 months ago by [cunnningstunts](https://wordpress.org/support/users/cunnningstunts/).
    -  This topic was modified 7 years, 2 months ago by [cunnningstunts](https://wordpress.org/support/users/cunnningstunts/).

Viewing 1 replies (of 1 total)

 *  [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/)
 * (@thebengalboy)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-datepicker-is-not-a-function/#post-11377303)
 * Hello [@cunnningstunts](https://wordpress.org/support/users/cunnningstunts/)
 * I hope you have already followed the guideline to use the development version.
   However, I’m mentioning again here:
 * -> CD into folder /wp-content/plugins/wp-erp and run `composer install`
    -> Lastly
   run `composer dump-autoload -o`
 * Conflict with any other plugin or theme may cause the problem as well. You can
   try [deactivating the other plugins/themes](https://thebengalboy.com/best-practice-find-wordpress-theme-plugin-conflicts/)
   as well.
 * However, if none of these help you, then feel free to [contact our support center](https://wperp.com/contact/).
   We’ll surely find a solution for you 🙂
 * Regards,

Viewing 1 replies (of 1 total)

The topic ‘JS error: datepicker is not a function’ is closed to new replies.

 * ![](https://ps.w.org/erp/assets/icon-256x256.gif?rev=3439413)
 * [ERP: Complete HR, Accounting & CRM Suite with WooCommerce CRM Support](https://wordpress.org/plugins/erp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/erp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/erp/)
 * [Active Topics](https://wordpress.org/support/plugin/erp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/erp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/erp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/js-error-datepicker-is-not-a-function/#post-11377303)
 * Status: resolved