Post Editor not working on WordPress 3.5.1

Well this is embarrassing.
I found the culprit, it was one of my theme 🙁
Enabling Twenty Twelve solves the visual editor issue.

Sorry guyz and thanks for the support.

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