• Resolved dadomagico

    (@dadomagico)


    Hi,in my site https://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)
  • That file is not part of WordPress, looks like a backdoor to me.

    CyberCobre

    (@cybercobre)

    I couldn’t find it either, but I thought it was just me being stupid. Thanks, Simon Prosser.

    bernbe01

    (@bernbe01)

    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

    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

    (@dadomagico)

    how i can the backup of files and database?
    I need to download a plugin?

    bernbe01

    (@bernbe01)

    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 too but the raw db and file method is preferred by me when the site is compromised

    kmessinger

    (@kmessinger)

    /** 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/

    Let us see the site with the twentyfifteen theme.

    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

    (@kmessinger)

    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

    (@dadomagico)

    It’s not a problem with the theme,i’ve tried to change theme but the problem remains.

    kmessinger

    (@kmessinger)

    Yes i have the wp-head.php in wordpress folder

    What folder?

    Thread Starter dadomagico

    (@dadomagico)

    In the main /wordpress folder

    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

    (@dadomagico)

    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)
  • The topic ‘WordPress error in header’ is closed to new replies.