Try:
– switching to the default theme automatically by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.
– resetting the plugins folder by FTP or phpMyAdmin.
– re-uploading all files & folders – except the wp-content folder and the wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.
Is this happened because of ftp file? Someone didn’t hack my server, didn’t? I made my host provider aware of your answer. Actually should i concern about that code?
There is no magic bullet in these situations. This is just basic troubleshooting – a process of elimination deliberately designed to locate the root cause as quickly as possible by first removing the most obvious and common culprits via a series of (often) temporary steps.
Your theme & plugin settings are saved in your database and should be retained for future use.
Thank you for your kindness.I see what you mean. I’ll try my best.