php - WordPress Posts/Page Content Blank on Backend After Site Move -


after moving wordpress website 1 server have encountered odd issue. works great, until go edit post or page , presented empty content box on backend. (see image).

the empty content box.

all of posts , pages displayed on front end except there strange characters in content (see image).

strange characters

if try republish post, empty content saves on hidden content , post becomes empty on front end.

i disabled plugins , switched themes changed nothing.

did corrupt database on transfer or there other reason might have caused this?

has else run this?

the problem turned out db_charset , db_collate both set '' in wp-config.php. updated them following values , issues resolved:

define('db_charset', 'utf8');  define('db_collate', 'utf8_general_ci'); 

Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -