Skip Navigation

[Closed] Datepicker json error after choosing

This support ticket is created 4 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Christian Cox 4 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1673021
Schermata 2020-06-23 alle 08.40.33.png

Hi,
when i choose a date from a datepicker it remains blank

I receive the following error in chrome console:
code>

VM451:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at Function.n.parseJSON (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[chunk_1]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-tabs,suggest,underscore,shortcode,wp-util,wp-pointer,quicktags&ver=5.4.2:4)
at Function.a.parseJSON (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[chunk_1]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-tabs,suggest,underscore,shortcode,wp-util,wp-pointer,quicktags&ver=5.4.2:8)
at Object.success (date.js?ver=0.1.2:97)
at i (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[chunk_1]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-tabs,suggest,underscore,shortcode,wp-util,wp-pointer,quicktags&ver=5.4.2:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[chunk_1]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-tabs,suggest,underscore,shortcode,wp-util,wp-pointer,quicktags&ver=5.4.2:2)
at x (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[chunk_1]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-tabs,suggest,underscore,shortcode,wp-util,wp-pointer,quicktags&ver=5.4.2:4)
at XMLHttpRequest.c (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[chunk_1]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-tabs,suggest,underscore,shortcode,wp-util,wp-pointer,quicktags&ver=5.4.2:4)
[/php]

#1673699

Hello, can you try these troubleshooting steps on the live site or in a development environment?
- Temporarily deactivate all plugins except Types and Views (and Forms, if this field is in a Form)
- Activate a default theme like Twenty Twenty
- Test again
- If the datepicker works correctly, reactivate your theme and other plugins until the problem returns
- If the datepicker still does not work correctly, I'll need to take a closer look

Please let me know the results of this test and we can go from there.

#1673727

Hi Christian,
i'm sorry but i just did it. I deactivated all plugins and used twenty twenty.

It doesn't work since last update

#1673733

P.s.
I tried now with safari... it just doesn't work on chrome

#1675527

Okay may I take a look in wp-admin and try to reproduce the problem? Please provide login credentials in the private fields here. Let me know where I should test the date field.

The topic ‘[Closed] Datepicker json error after choosing’ is closed to new replies.