Problem migrating to localhost

As in this question and answer, and because of your huge .htaccess file it’s like you have a .htaccess directive that’s causing your apache to not process that file or understand its type. As mentioned by @Rup, using the default WordPress .htaccess, and checking other directories for rogue .htaccess files will likely resolve this issue. … Read more

I’m getting this error …in localhost/wordpress

Line 1090 is function add_query_arg( …$args ) { This is the variable-length argument syntax that was introduced in PHP 5.6. You’re probably running an older version of PHP than that. Since version 5.2 WordPress requires at least PHP 5.6.20, but currently recommends 7.4+. See the requirements page or the readme in the download.

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