Skip Navigation

[Closed] since updating to Types beta, one of my fields is giving an error

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.

Our next available supporter will start replying to tickets in about 0.54 hours from now. Thank you for your understanding.

This topic contains 6 replies, has 3 voices.

Last updated by Shane 3 years, 7 months ago.

Assigned support staff: Shane.

Author
Posts
#597430

Tell us what you are trying to do?

I have a radio button field (called work-status) with 3 values, which I was displaying in a table, but now the values are not displayed and I get the following errors for each post in the table:

Warning: Illegal string offset 'id' in /nas/content/staging/clayjohnson/wp-content/plugins/types/application/models/field/type/radio/mapper/legacy.php on line 50

Warning: Illegal string offset 'checked' in /nas/content/staging/clayjohnson/wp-content/plugins/types/application/models/field/type/radio/mapper/legacy.php on line 51

Is there any documentation that you are following?
No

Is there a similar example that we can see?

What is the link to your site?

hidden link

#597500

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Hi, can you share the following information?
- What are the labels and values of each option in your radio button group?
- What code are you using in your View or Content Template to place the data in the table? Please share the full Content Template and / or Loop Output.
- Did you also update to the latest Views beta, or only Types?

#597507
loop-template.jpg
front-end.jpg
edit-field.jpg

Yes, I did update to the latest Views beta. I think the screenshots will answer your other questions. Thanks.

#597778

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Okay thanks, a couple more questions:
- When was this radio button group created: before installing any betas, after installing the first beta, or after installing the second beta?
- Did you initiate the relationship migration process in Toolset > Settings > Custom Content > Relationships?

#597803

Radio button created before any betas, maybe 2 years ago.

Yes, many-to-many relationships are enabled.

#597878

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I haven't been able to replicate this reliably, so it would be helpful for me to create a clone of your site and run some additional tests locally. Could you follow the steps here to provide a site clone for me to download? I will enable private reply fields here so you can share the link in confidence.

#598200

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Clay,

As Christian is on vacation I will be handling this ticket. I'm not able to do much with the zip file that you provided since it doesn't contain the database.

Could you try creating the backup with the all in one Migration plugin and then providing me with this file? The private fields have been enabled once more.

Thanks,
Shane

The topic ‘[Closed] since updating to Types beta, one of my fields is giving an error’ is closed to new replies.