custom post creation on front page – on submit a search is done

add the_permalink(); in form action value, to submit the form data.

<form id="fep-new-dog" name="new_dog" method="post" action="<?php the_permalink(); ?>">

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