Fix nested WordPress multisite resource path?

I found the solution myself.

This is a problem resulting from using a cloning plugin. Manually going into network site settings and updating upload path not to include “/sites/2/” solved it as WordPress appends the path on its own.

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