• Resolved FeralReason

    (@feralreason)


    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:3
    wpdp_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 1 year, 3 months ago by FeralReason.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    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.

    Hi,

    I have the same problem with v2.0.7. How do you solve it ?

    Thanks

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    I would request you to provide the website URL so I can check the problem in browser console.

    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

    (@fahadmahmood)

    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.