Skip Navigation

[Resolved] Error 500 when using repeatable field group

This thread is resolved. Here is a description of the problem and solution.

Problem:

Use a repeating field group to create content for my new post type, but the console shows an error 500 in wp-admin/admin-ajax.php

Solution:

So there might some broken plugin file in your website, please check these in your website:
Delete the Toolset Form plugin + Types plugin of your website, and install the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

Relevant Documentation:

This support ticket is created 5 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/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by Luo Yang 5 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#923778

Hi there

I am trying to: use a repeating field group to create content for my new post type

I expected to see: fields, that can be edited, after clicking on "add first >repeating field group<"

Instead, I got: nothing happens, but the console shows an error 500 in wp-admin/admin-ajax.php

My site runs on PHP 7.2, it should have enough memory limit and execution time. Might the field group be incorrectly set up?

Please find the debug file here: hidden link

Best,
Marcial

#923931

Dear Marcial,

The problem you mentioned above is abnormal, please try these:

1) Upgrade to the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
The latest version of Types plugin is 3.0.3, but you are using version 3.0.2

2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again

3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#924362

Hi

I updated the plugin, now it's working again. However, there is a new problem. I created a repeating field group. The group is correctly displayed in the backend and I can add content to it. However, when saving the post, all the data within the repeating field group vanishes. All other adjustments are saved correctly. I deleted my first repeating field group and created a new one, however, the problem stays. There are no errors in the log this time.

Do you have an idea, where I should start looking for a solution? The fields are set up exactly as described here: https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/

Best,
Marcial

#924477

It should be a compatibility problem: Server problem or problem with other plugin/theme, for example, there might be some custom codes in your theme files, which conduct the problem.

Please try as I mentioned above:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again

2) If the problem still persists, please provide database dump file(ZIP file) of your website

#924576

The file you just shared is an empty ZIP file, please check it, you can put the file into your own google drive disk, and share the link in your private message box, thanks
https://toolset.com/forums/topic/error-500-when-using-repeatable-field-group/#post-924568

#924830

Hi

The ZIP wasn't emtpy, there are several files in there including one sql-file. But nevermind, here is the sql-file on its own: hidden link.

Thanks

#948094
repeatable-group.JPG

I have tested your database dump file in my localhost with a fresh wordpress installation + Types 3.03, it works fine, see screenshot: repeatable-group.JPG

So there might some broken plugin file in your website, please check these in your website:
1) Delete the Toolset Form plugin + Types plugin of your website, and install the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

All your settings are saved in the database, it is safe to delete the plugin files

2) If you still need assistance for it, please provide a test site with the same problem, I need to test and debug it in a live website. thanks

#948714

Hi there

I deleted all plugin files and uploaded them again. Now the problem is solved and the entries are saved correctly.

Thank you!

Best,
Marcial

#948906

You are welcome

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.