How to disable WordPress to put P tags?

Those are the correct filters.

Make sure you’re adding them to the active theme’s functions.php file.

Update: Removed filter suggestion based on comment below.

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