wp_editor in front end not working

Silly mistake, my custom page was missing the

<?php wp_footer(); ?>

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