Skip Navigation

[Resolved] Problem with selecting date inside custom field

This support ticket is created 4 years, 11 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by ofirD 4 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1800367

I am trying to:

Select date in field created in plugin custom fieldsw

Link to a page where the issue can be seen:

If you need access I will check with admin

I expected to see:

Selected date

Instead, I got:

Nothing selected. In console there is error: Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
jQuery 2
onSelect hidden link
jQuery 4

#1800413

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

I suspect that this one is being caused by a plugin conflict of some sort.

What I recommend that you do is to temporarily disable all the non-toolset plugins and check again to see if the issue still remains.

Once you have done this please provide me with an update. This will help to identify which plugin is causing the issue.

Thanks,
Shane

#1801281

Hello again,

after disabling all plugins except Toolset Types and when I click to chose date, I get this in console:

Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
parseJSON jQuery
onSelect wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/js/date.js?ver=0.1.2:97
jQuery 7
onSelect wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/js/date.js?ver=0.1.2:96
jQuery 21

and still cannot chose date.

Best regards,

#1801617

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for running these quick debugging steps for me.

At this point I would like to gain access to the website to do some further checks for you.

I may need to install the duplicator plugin so that I can grab copy of your site to test locally. Also send me a link to an example post where I can see the issue.

Thanks,
Shane

#1801627

Hello,

thank you for help. For now, it won't be needed to resolve this as logic with custom field was changed. Thank you for your time.

#1802235

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for the update.

You can go ahead and mark this ticket as resolved if there are no further issues.

Thanks,
Shane

#1802505

My issue is resolved now. Thank you!