WordPress Issue : The uploaded file could not be moved to wp-content/uploads/

This may due to the SELinux feature of the Fedora OS.

You can temporarily disable the SELinux in Fedora as follows and test.

Check SELinux status as sestatus

If the SELinux is active, the result for the above command will be included.

Current mode: enforcing

Execute command sudo setenforce 0 to temporarily disable SELinux

Then if you check sestatus

Current mode: permissive

To re-enable SELinux execute command sudo setenforce 1

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