Skip Navigation

[Resolved] Add New Repeatable Group Button not working

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

Problem: I am unable to add a new repeatable field group in the Field editor screen. I am shown an error in the Field Styling Editor panel:

Fatal error: Call to a member function _parse_cf_form_element() on null in /path/to/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields-post.php on line 563

Solution: The Field Styling Editor is deprecated and should be disabled. Comment or delete the following line in wp-config.php:

define('TYPES_USE_STYLING_EDITOR', true);
This support ticket is created 6 years, 7 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
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 2 replies, has 2 voices.

Last updated by johnU 6 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#901735
add-new-repeatable-groutp.png

I am trying to: Add a new repeatable group to a page template.

Link to a page where the issue can be seen:

I expected to see:

Instead, I got: I have attached the screenshot with my custom field group options. I am trying to create a repeatable group for a specific page template, so I selected Post Type "Pages" and the specific page template, and clicked on "when ALL conditions are met". The Add New Repeatable Group button was enabled after I saved, but when I click on it nothing happens; no pop up to create/name the group.

I have tried to disable all plugins except toolset, that did not fix it.

I have tried to just select for Post Type "Posts", that did not change anything neither.

There is also an error, as you can see on the bottom of the screenshot, under "Field Styling Editor". I do not use that section so I did not pay much attention to it. But I thought I would point it out in case that affects the solution to my problem. The error is...

Fatal error: Call to a member function _parse_cf_form_element() on null in /home3/john84/public_html/18031601/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields-post.php on line 563

#901746

It looks like you have the deprecated field styling editor panel enabled. Please edit your wp-config.php file and comment out or delete the following code:

define('TYPES_USE_STYLING_EDITOR', true);

Let me know if this does not resolve the issue completely.

#901760

Yep, that was it. Sorry!