Title: Console ReferenceError
Last modified: August 8, 2023

---

# Console ReferenceError

 *  Resolved [feralreason](https://wordpress.org/support/users/feralreason/)
 * (@feralreason)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/console-referenceerror/)
 * In version 2.0.7 (which has fixed a significant problem for me – thx), I noticed
   a ReferenceError related to \wp-datepicker\js\wpdp_auto_script.js
 * Here’s the text, copied from the console:
 * ReferenceError: wpdp_obj is not defined
   at wpdp_refresh_5047 (wpdp_auto_script.
   js?ver=202308080801:23:20)at wpdp_auto_script.js?ver=202308080801:166:3wpdp_refresh_5047
   @ wpdp_auto_script.js?ver=202308080801:23(anonymous) @ wpdp_auto_script.js?ver
   =202308080801:166
 * Didn’t notice any functional issues associated with this but it displays repeatedly
   in the console when I’m logged in as admin and in the dashboard.
    -  This topic was modified 2 years, 9 months ago by [feralreason](https://wordpress.org/support/users/feralreason/).

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

 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/console-referenceerror/#post-16957349)
 * Can you please share the URL where I can see this problem? Because this file 
   is dynamically created, for me, it will be on the same line number.
 *  [tipikae2](https://wordpress.org/support/users/tipikae2/)
 * (@tipikae2)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/console-referenceerror/#post-17014484)
 * Hi,
 * I have the same problem with v2.0.7. How do you solve it ?
 * Thanks
 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/console-referenceerror/#post-17016966)
 * I would request you to provide the website URL so I can check the problem in 
   browser console.
 *  [tipikae2](https://wordpress.org/support/users/tipikae2/)
 * (@tipikae2)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/console-referenceerror/#post-17017931)
 * My website is on development not online.
 * The problem occurs when I’m logged in as admin, in the dashboard.
 * It displays repeatedly in the console: ‘Uncaught ReferenceError: wpdp_obj is 
   not defined’.
 * It concerns the file: wpdp_auto_script.js:23:20
 * Method and line are:
 * function wpdp_refresh_18598($, force){
   var wpml_code = wpdp_obj.wpml_current_language;
 * …
 * }
 * Thanks for your help !
 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/console-referenceerror/#post-17019524)
 * I am sorry, this won’t help.

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

The topic ‘Console ReferenceError’ is closed to new replies.

 * ![](https://ps.w.org/wp-datepicker/assets/icon-256x256.gif?rev=2286804)
 * [WP Datepicker](https://wordpress.org/plugins/wp-datepicker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-datepicker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-datepicker/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-datepicker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-datepicker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-datepicker/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [ReferenceError](https://wordpress.org/support/topic-tag/referenceerror/)

 * 5 replies
 * 3 participants
 * Last reply from: [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/console-referenceerror/#post-17019524)
 * Status: resolved