After some more testing, it appears that the issue is not present when using WordPress 6.6.2
Apologies for resurrecting an old thread, but I am still seeing this error on:
– WordPress 6.7
– ACF Pro 6.3.11
– Firefox 132.0.2 (both Windows 10 and macOS)
I am testing on a fresh install of WordPress using the stock Twenty Twenty-five theme with only ACF Pro enabled. I created a single field group with a single WYSIWYG field.
When opening the editor, the field appears to load normally, but after refreshing the field does not show any content and becomes unresponsive to any input in the main editor area, although I am able to click on the buttons in the TinyMCE toolbar as well as the Visual/Test toggle.
There are no errors in the Firefox console, only the following which appear to be warnings:
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. markup.js:250:53
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. post.php
JQMIGRATE: Migrate is installed, version 3.4.1 load-scripts.php:5:981
downloadable font: Glyph bbox was incorrect (glyph ids 11 19 20 21 55 58 79 96 101 115 116 120) (font-family: "tinymce" style:normal weight:400 stretch:100 src index:1) source: http://acf-wysiwyg-issue-test.local/wp-includes/js/tinymce/skins/lightgray/fonts/tinymce.woff
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. ce917c4a-18c0-4680-a2b9-2d1ec833f72d
MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. block-editor.min.js:21:494336
MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead. block-editor.min.js:21:494336
MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. tinymce.min.js:2:8857
MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead. tinymce.min.js:2:8857
darkly77’s solution worked for me in ACF PRO 5.12 where Jann’s ‘acf/pre_load_post_id’ filter solution did not. The ‘acf/pre_load_post_id’ filter wasn’t working when using get_field on terms, resulting in this error:
PHP Fatal error: Uncaught Error: Object of class WP_Term could not be converted to string in /public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php:77
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.