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."
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
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.
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
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.
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
My issue is resolved now. Thank you!