Custom Field data only shows after manual post update

I eventually solved this by re-installing WP. It seems there was some kind of corruption which was resolved after a fresh install.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)