Skip Navigation

[Resolved] can't add repeatable fields

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 8 replies, has 2 voices.

Last updated by Minesh 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1110758

The "add repeatable field" option does not show up when I am working on a Custom Field Group. It DOES show up on my other website, but not on hidden link - which I assume means it is something to do with my other plugins.

I have a LOT of plugins, so disabling to find out which one is the problem is a lengthy process ... I'm hoping you have some insights as to whether or not people have had issues with specific things causing this problem?

Thanks.

Elise

#1111305

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - as you acknowledge that you have a number of third-party plugins installed on your site, so there is a possibility of conflict with plugins you are using.

The process is lengthy but I must sayit's important. The only way to find out is by disabling plugin one by one to know what plugin causing the issue. Could you please do that?

Additionally, do you see any JS error on your browser console?

#1111320

I have another site - hidden link - that has far fewer plugins - so I deactivated ALL plugins on that site except the Toolset ones - and the ADD REPEATABLE FIELDS button still would not show up.

I don't know if there are any JS errors in my browser console - how would I check for that?

Thanks.

Elise

#1111392

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Here is the link which will help you to see browser console errors on Chrome:
=> https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors

If you don't see anything, I need access details to check what's going wrong there with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#1112267

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

*** Please make a FULL BACKUP of your database and website.***
Well - could you please migrate your site to use new relationship:
=> hidden link

Once you migrate your site - please check if the Repeatable Fields Group button is back to work.

#1112348

I had no idea that there was such a thing as "migration" - I thought just updating to the new version was enough.

Before I do the migration - I want to know if there is anything I have to worry about in my site. I have a lot of custom post types that were set up using the older system - and lots of custom php code in my child theme.

A few months ago I sent a copy of my php file to a Toolset person who said there was nothing in it that would need to be changed - but I just want to make sure that if I perform the migration, I won't find myself with a site that suddenly stops working all over the place.

Can you reassure me?

Thanks.

Elise

#1112728

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - here are the Docs you should read it carefully:
=> https://toolset.com/2018/05/when-if-to-migrate-relationships-in-old-toolset-sites/
=> https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/backward-compatibility-measures-for-post-relationships/
=> https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/how-to-migrate-your-site-to-new-post-relationships/

Before you update to the new relationship - actually I would suggest creating a staging copy of your live site and perform the migration. Also - take the full backup of your site.

Then perform relationship migration. I checked your functions.php file and I do not see the major issue excluding the single line of code at line #60 which may need to adjust:

$evaluator_id = get_post_meta( $registrations[0]->ID, "_wpcf_belongs_evaluator_id", true);

But we can only know after you migrate, so perform the migration on staging site and do not touch your live site. So, if we find any issues with the staging site - we will fix it.

#1115245

I've never created a "staging site" and am not sure how to do it ...can you explain?

#1115459

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - you should follow the following links:
=> hidden link
=> hidden link

If you still do not have the idea I recommend you to contact your server admin authority and ask them to create a staging test site for you which should be 1:1 copy of your live site.