• Resolved banpei

    (@banpei)


    After I have upgraded one of my sites from 6.4.3 to 6.5, adding or editing a page or post will result in a blank page. I reverted back to 6.4.3, but this didn’t help. I enabled debug mode, but nothing showed up in the error logs either.

    I do see this in the javascript console of my browser:

    Uncaught TypeError: wp.editPost is undefined

    I have tried disabling all plugins and selecting the default theme, but this doesn’t solve the issue.

    Switching to the classic-editor helps and this allows me to edit. However, I’m now missing out on the block editor. Any ideas what could be the source of this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • In this similar case, it was due to the wrong character set returned by the server: https://www.ads-software.com/support/topic/add-new-page-blank-no-error/

    Another thought:
    Do you see any other information in the console, possibly about the content security policy (CSP)? If so, this is probably set on the server and prevents important scripts from loading.

    I’m having exactly the same issue, all pages show up blank if I try editing…

    Thread Starter banpei

    (@banpei)

    Thank you for your replies.
    @threadi: I did not find any other errors in my console. I did also find the characterset issue this afternoon, but I didn’t get a similar error in my console.

    I managed to fix the issue by purging and clearing all caches (php / memcache / Cloudflare / browser). I already purged all of them this afternoon, but it didn’t resolve the issue then. This afternoon I didn’t purge them all at the same time. Maybe somewhere a faulty upgraded version of a Javascript library was still lingering around?
    @kandikills maybe you could try this as well? Make sure you purge all caches at the same time and then try again.

    Hi @banpei thanks for your sugggestion – yes, I tried clearing the cache, still got blank pages. I’ve now rolled back to v.6.4.3

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editor blank page after upgrade to 6.5’ is closed to new replies.