Skip Navigation

[Resolved] On certain Post Types – cannot edit content. No text.

This support ticket is created 2 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by WillL606 2 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2381631
Screen Shot 2022-06-09 at 12.33.38 PM.png

I am trying to:
Edit certain Post types (Gatherings, Glosses).

Link to a page where the issue can be seen:

I expected to see:
Editable content area.

Instead, I got:
Blank text area even though there is text on the display page and this message: "There has been a critical error on this website. Please check your site admin email inbox for instructions."

#2381655

Shane
Supporter

Languages: English (English )

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

Hi Will,

Thank you for getting in touch.

What we recommend doing here is to enable the wordpress debugging functions to understand the error being thrown.

To enable the wordpress debugging you will either need to log into your website using FTP or using your Host's CPanel's file manager.

From there you will need to edit the wp-config file by adding the following.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

If the define( 'WP_DEBUG', true ); function already exists you will need to change 'false' to 'true'

Once you've done this please revisit the page with the issue and let me know what the issue is.

Thanks,
Shane

#2381689

Hi Shane,
Here is the debug message :

Warning: include_once(/home/dtcwsuvo/public_html/ebr/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/field/renderer/preview/radio.php): failed to open stream: No such file or directory in /home/dtcwsuvo/public_html/ebr/wp-content/plugins/wp-views/vendor/toolset/toolset-common/utility/autoloader.php on line 127

Warning: include_once(): Failed opening '/home/dtcwsuvo/public_html/ebr/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/field/renderer/preview/radio.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/dtcwsuvo/public_html/ebr/wp-content/plugins/wp-views/vendor/toolset/toolset-common/utility/autoloader.php on line 127

Fatal error: Uncaught Error: Class 'Toolset_Field_Renderer_Preview_Radio' not found in /home/dtcwsuvo/public_html/ebr/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/field/type/definition/select.php:68 Stack trace: #0 /home/dtcwsuvo/public_html/ebr/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/field/instance.php(148): Toolset_Field_Type_Definition_Select->get_renderer('preview', 'admin', Object(Toolset_Field_Instance_Post), Array) #1 /home/dtcwsuvo/public_html/ebr/wp-content/plugins/types/application/viewmodels/fields_input.php(72): Toolset_Field_Instance->get_renderer('preview', 'admin', Array) #2 /home/dtcwsuvo/public_html/ebr/wp-content/plugins/types/application/controllers/page/extension/related_content/meta_box_related_content.php(600): Types_Viewmodel_Field_Input->get_fields_data() #3 /home/dtcwsuvo/public_html/ebr/wp-content/plugins/types/application/controllers/page/extension/related_content/meta_box_related_content.php(558): Types_Page_Extension_Meta_Box_Related in /home/dtcwsuvo/public_html/ebr/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/autoloaded/field/type/definition/select.php on line 68
There has been a critical error on this website. Please check your site admin email inbox for instructions.

#2381691

Shane
Supporter

Languages: English (English )

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

Hi Will,

Thank you.

I've logged onto the site to see the see issue but I'm not sure where to locate it.

Can you send me a link to the page where I can see the issue ?

Thanks,
Shane

#2381695

Well, things are working again. I deleted some old themes and a deactivated Plugin that was causing problems. Do you have any sense from the debug message about what the issue was? Anyway, it all works now.

#2382193

Shane
Supporter

Languages: English (English )

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

Hi Will,

The error was making some reference to the radio button custom field. However i'm happy to see that the issue has been resolved.

Without being able to debug further I cannot pinpoint the exact issue but the error points to an issue or conflict with a custom radio button field.

Thanks,
Shane

#2382369

My issue is resolved now. Thank you!