Title: WordPress error in header
Last modified: August 22, 2016

---

# WordPress error in header

 *  Resolved [dadomagico](https://wordpress.org/support/users/dadomagico/)
 * (@dadomagico)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/)
 * Hi,in my site [http://www.mobiliariofarmacia.es/](http://www.mobiliariofarmacia.es/)
   
   at the top appairs this error: /** Outputs the WordPress header. */ require_once(
   ABSPATH . ‘wp-head.php’);
 * How can i resolve?
    I have updated also wordpress ma doesn’t work Please Help
   me!

Viewing 13 replies - 16 through 28 (of 28 total)

[←](https://wordpress.org/support/topic/wordpress-error-in-header/?output_format=md)
[1](https://wordpress.org/support/topic/wordpress-error-in-header/?output_format=md)
2

 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824384)
 * That file is not part of WordPress, looks like a backdoor to me.
 *  [CyberCobre](https://wordpress.org/support/users/cybercobre/)
 * (@cybercobre)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824385)
 * I couldn’t find it either, but I thought it was just me being stupid. Thanks,
   Simon Prosser.
 *  [bernbe01](https://wordpress.org/support/users/bernbe01/)
 * (@bernbe01)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824393)
 * try a manual reinstall
 * 0. take a backup of your existing system (files & database – let us know if you
   need help)
 * 1. download a clean version of the latest [wordpress](https://wordpress.org/download/)
 * 2. unzip it locally on your computer
 * 3. connect to your server using an ftp client, selecting option to see hidden
   files if available
 * 4. delete from your server everything in wordpress’s install folder except wp-
   config.php and wp-content/
 * 5. upload from the newly unzipped wordpress files all files and folders except
   wp-content/ (there will not be a wp-config.php in the newly unzip wordpress)
 *  Thread Starter [dadomagico](https://wordpress.org/support/users/dadomagico/)
 * (@dadomagico)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824400)
 * how i can the backup of files and database?
    I need to download a plugin?
 *  [bernbe01](https://wordpress.org/support/users/bernbe01/)
 * (@bernbe01)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824407)
 * however you are accessing the files currently will work to back up the files.
   do you have a cpanel? if you’re unsure about the database, a quick phone call
   to your host and they should easily be able to guide you through that on thier
   system. for the files, using ftp is generally the most common method, but however
   you can access them works
 * yes there are tons of [back up plugins](https://wordpress.org/plugins/search.php?q=back+up)
   too but the raw db and file method is preferred by me when the site is compromised
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824415)
 * /** Outputs the WordPress header. */
    require_once(ABSPATH . ‘wp-head.php’); 
   is before your DOCTYPE if your look at the source code. Nothing can be before
   DOCTYPE.
 * It most likely is coming from your theme, which is out of date. [https://www.wphub.com/themes/platformpro-by-pagelines/](https://www.wphub.com/themes/platformpro-by-pagelines/)
 * Let us see the site with the twentyfifteen theme.
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824416)
 * kmessinger: It isnt coming from the theme, I should know 😉
 * Have a look at the code that was posted above, the site is infected with something.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824418)
 * Simon Prosser
    Can he just replace the header.php with the version in Platform
   1.4.4 or download the new theme?
 *  Thread Starter [dadomagico](https://wordpress.org/support/users/dadomagico/)
 * (@dadomagico)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824427)
 * It’s not a problem with the theme,i’ve tried to change theme but the problem 
   remains.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824440)
 * > Yes i have the wp-head.php in wordpress folder
 *  What folder?
 *  Thread Starter [dadomagico](https://wordpress.org/support/users/dadomagico/)
 * (@dadomagico)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824441)
 * In the main /wordpress folder
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824442)
 * There is no such file in WordPress.
 * I would export the posts and then start fresh with a new database and wordpress.
   Then re-import your old posts.
 * Make sure you update any passowords.
 *  Thread Starter [dadomagico](https://wordpress.org/support/users/dadomagico/)
 * (@dadomagico)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824448)
 * Problem solved.
    In my config.php there was the error string. I remove it and
   replace by ftp the wordpress files cleaned

Viewing 13 replies - 16 through 28 (of 28 total)

[←](https://wordpress.org/support/topic/wordpress-error-in-header/?output_format=md)
[1](https://wordpress.org/support/topic/wordpress-error-in-header/?output_format=md)
2

The topic ‘WordPress error in header’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 28 replies
 * 6 participants
 * Last reply from: [dadomagico](https://wordpress.org/support/users/dadomagico/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-in-header/page/2/#post-5824448)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
