• When I click on post preview, I get this error “Content, title, and excerpt are empty.” Using the latest wordpress with php8.4

Viewing 1 replies (of 1 total)
  • Check your Nginx config. It may be blocking some files. In my case the server was blocking TinyMCE, and I worked around it by adding this to my theme to avoid the ?wp-mce-* query string that some WAFs block:

    // TinyMCE: avoid ?wp-mce-**** query that some WAFs block add_filter('tiny_mce_before_init', function ($init) { $init['cache_suffix'] = 'v=1'; return $init; });

    This solved it for me.

Viewing 1 replies (of 1 total)

The topic ‘Issue with post preview’ is closed to new replies.