I am trying to use either Radio/Select/Checkboxes with in a Repeatable group, for a Custom post type. When I go to my CPT, the repeatable groupe keep indicating "loading".
If I only use text or date fields in my repeatable group, it's loading ok.
If I inspect the page using Google Chrome inspector, I see :
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
for
/wp-admin/admin-ajax.php
If I look to error logs, I see :
[Tue Dec 18 11:49:36 2018] [error] [client XX.XXX.XXX.XXX] PHP Warning: DOMDocument::saveHTML() expects exactly 0 parameters, 1 given in /usr/local/sites/domain-name.ca/www/wp-content/themes/Divi/core/components/data/init.php on line 233
Hi Francois,
Thank you for contacting us and I'll be happy to assist.
To troubleshoot this issue, I'll suggest the following steps:
1. Please make sure that all plugins are updated to the latest versions.
2. Temporarily disable all plugins other than the Toolset plugins and see if the issue is resolved.
3. In case you still see the 500 (Internal Server Error) in the browser's console, it would suggest that some server policy is blocking the WordPress' default AJAX functionality. Many themes and plugins (including the Toolset) rely on this default functionality and to fix this it would be best to consult your hosting support team.
I hope these steps will help and please let me know how it goes.
regards,
Waqar
I upgraded, but it didn't change anything. I disabled the plugins, and it didn't change anything. Then I made a CPT with Toolset (my CPT are made with CPT-UI). Then, It worked... before it started to don't work anymore. So I reactivated all the plugins, including CPT-UI, and reassigned the fields to my CPT and it worked.... So my issue is resolved now. Thank you!
Update : it actually works with new posts only. If I edit existing ones, then it doesn't work...
I think I found the problem: php version of server.... I tested on another server (with a copie of the site) and it works A1...
But I'm stuck on the old server for the site so... ?
Thanks for the help!