Skip Navigation

[Resolved] I can't populate the date fields

This support ticket is created 4 years, 9 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 3 voices.

Last updated by derekN-2 4 years, 6 months ago.

Assisted by: Waqar.

Author
Posts
#1794783
Screen Shot 2020-09-29 at 5.32.49 PM.png

I am trying to: edit a custom post that is using a toolset date field. When I click on the date, I believe that the expected behavior is that I can select a date from a pop-up calendar, but currently nothing happens. I also cannot "clear" the date where posts already have a date.

Link to a page where the issue can be seen: This issue is on the wordpress editing side, not the front-end of the website. But here is one of the posts that includes the date field where I can't edit it. hidden link

I expected to see:

Instead, I got:

#1795307

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Derek

I tried to log in with the credentials you provided to see the issue, but they did not work.

Let me set a private reply so you can update them.

Do you see any errors in the browser console on the post edit screen where this happens?

#1795883
#1796447

Hi Derek,

Thank you for sharing the admin access again.

I've noticed the following issues on the website, which can all contribute to the improper functioning of dynamic elements like the date picker.

1. The following script error is showing in the browser's console while editing the event post:


Uncaught TypeError: $(...).live is not a function
    at HTMLDocument.<anonymous> (admin.js:99)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.J (jquery.js:2)

This seems to be coming from the "CF Post Formats" plugin's file: /wp-content/plugins/cf-post-formats/js/admin.js

I'll recommend testing this date type field with this plugin disabled and once it is confirmed that this is the conflict, you can report this to the "CF Post Formats" plugin's official support.

2. There are also several mixed contents warnings in the console, related to incomplete/incorrect SSL set up.

You'll see a notice "Almost ready to migrate to SSL!" in the admin area from the "Really Simple SSL" plugin, asking to complete the SSL set up.

3. There is also an error in the console related to the expired Google Maps API key.


Google Maps JavaScript API error: ExpiredKeyMapError

You can generate and link a new Google Maps API key, as explained in our documentation:
https://toolset.com/course-lesson/creating-a-maps-api-key/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1878583

Thanks for leading me to the CF Post Formats plugin as the source of the problem. I disabled that plugin and the date fields now work. You have solved my problem, thanks!