Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter joliver1

    (@joliver1)

    Here’s the offending php code that some hacker inserted into my site on several pages. I’ve managed to remove them all, but I’m still getting an error message about USERS that locks out the site from public view.

    Here’s the offending code:

    [Code moderated. Please do not post hack code blocks in the forums. Please use the pastebin]

    And here’s the code I get when I try to open the web site http://standonguardforcbc.ca

    Fatal error: Call to undefined method WP_User::exists() in /home/myfolder/public_html/standonguardforcbc/wp-includes/pluggable.php on line 729

    I have already downloaded and installed a fresh new unedited copy of the pluggable.php file, but no change in behaviour.

    Thanks for your help.

    John

    Thread Starter joliver1

    (@joliver1)

    If I do that, I just get a blank page on the home page. ANd if I try to log in, I get the same Fatal error message as before.

    Thread Starter joliver1

    (@joliver1)

    Thanks Seacoast. I did as you suggested and now I get this message instead:
    Fatal error: Call to undefined method WP_Styles::get_data() in /home/path/wp-includes/class.wp-styles.php on line 113.

    So I go to that line in that file and here is what is there from line 112 to 128:

    function print_inline_style( $handle, $echo = true ) {
    $output = $this->get_data( $handle, ‘after’ );

    if ( empty( $output ) )
    return false;

    $output = implode( “\n”, $output );

    if ( !$echo )
    return $output;

    echo “<style type=’text/css’>\n”;
    echo “$output\n”;
    echo “</style>\n”;

    return true;
    }

    In addition, now if I just try to load the web site, I get this warning only when I go to the home page:
    http://www.earsay.com/standonguardforcbc/

    Fatal error: Call to undefined function wp_jquery_dropdownmenu() in /home/ears1919/public_html/standonguardforcbc/wp-content/themes/ad-clerum-10/header.php on line 50.

    So I go to that file and see this on lines 49 to 51:

    <div id=”menu”>
    <?php
    echo wp_jquery_dropdownmenu(0,“Blog ,1, 1);
    ?>
    </div>
    <div id=”middlepic”></div>

    How do I define the function?

    Is any of this a quick fix for a php programmer. I don’t know how to program at all.

    Thanks,
    John

Viewing 3 replies - 1 through 3 (of 3 total)