Tell us what you are trying to do?
We have a type set up "Documents" that we use for displaying a library of resources we have developed. It was using the classic editor. The text, however, was showing up as white, and the editor's buttons were all missing. When I switched it to the new block editor in toolset types, that fixed the ability to do text, but it broke the custom fields that we use to auto generate links to Google Drive. So I switched it back, and now when I go in to edit or create a new Document I get a blank screen. I turned on debugging and found these errors:
Deprecated: ctype_digit(): Argument of type WP_Post will be interpreted as string in the future in /data/www/live/wp/csu/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134
Warning: Cannot modify header information - headers already sent by (output started at /data/www/live/wp/csu/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php:134) in /data/www/live/wp/csu/wp-admin/admin-header.php on line 9
Is there any documentation that you are following?
No.
Is there a similar example that we can see?
You would need to be able to log on to our admin panel
Even with the same fields and settings, I couldn't reproduce this issue with the Divi builder on my test website.
This suggests that something specific to your website is involved. Do I have your permission to download a clone/snapshot of your website to test it on a different server?
During troubleshooting, I was able to narrow down the issue to the use of the '<iframe>' HTML tag, in the description text of the field 'Document Embed Code (Optional)'.
( screenshot: hidden link )
If you only add it as 'iframe' ( i.e. not as the HTML tag ), the Document Post Editor screen will start loading correctly.
( using both the classic or the block editor )
Thank you so much; that worked on our side as well. Thank you and have a great evening!
curtisF-2 confirmed that the issue was resolved on 2023-10-12 00:30:01.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.