• Hi,
    I am trying to add an appointment but I am gettings some crazy error in the console. It says,

    VM1390:10 Uncaught TypeError: Cannot read property 'name' of undefined
        at n.eval (eval at m.template (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,underscore,backbone,jquery-ui-core&ver=4.9.7:8), <anonymous>:10:64)
        at n.c (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,underscore,backbone,jquery-ui-core&ver=4.9.7:8)
        at n.render (settings.prod.js?ver=4.9.7:674)
        at n.save (settings.prod.js?ver=4.9.7:898)
        at HTMLTableRowElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.7:3)
        at HTMLTableRowElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.7:3)
    (anonymous) @ VM1390:10
    c @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,underscore,backbone,jquery-ui-core&ver=4.9.7:8
    render @ settings.prod.js?ver=4.9.7:674
    save @ settings.prod.js?ver=4.9.7:898
    dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.7:3
    r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.7:3
    /wp-admin/admin-ajax.php?action=ea_appointment&id=undefined:1 Failed to load resource: the server responded with a status of 400 (BAD REQUEST)

    It looks like the code at line 210 in settings.prod.js file is causing the issue because encodeURIComponent(this.id) is returning undefined as far as I understand. Please fix it. I really liked your plugin and wanted to use it in a project but sadly I can not use it because of this bug.

    Besides, many assets of the plugin fail to load and show 404 errors in the console in the admin area. please check that too.

    Thanks.

  • The topic ‘Error on saving new appointment’ is closed to new replies.