Create plugin with custom page and template caused an error `Call to undefined function get_header()`

Create plugin with custom page and template caused an error `Call to undefined function get_header()`

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