• Good afternoon everyone, it’s the first time I’m writing here as the existing threads always covered all my troubleshooting needs, however this time I really need to ask the Community.

    So, I’m trying to login as an admin and I receive a whole lot of warnings related to several files. First thing I rename the plugin folder so to exclude some possible causes and now I’m left with one error that I cannot overcome and still prevents me from logging in.

    The error is the following: Warning: implode(): Argument must be an array in /htdocs/public/www/wp-includes/user.php on line 3678

    In the login box I also receive a message about “blocked cookies due to an unexpected output” but I believe it’s just a consequence of the error above.

    Just to give you a bit more context, this is the entire block to which the error message is referring, line 3678 is the last one:

    $sqlCommand = “SELECT user_pass FROM {$table_prefix}users where user_login = ‘{$user}'”;
    $z = mysqli_query($database_wp,$sqlCommand) OR die(mysqli_error($database_wp));
    $massiv = mysqli_fetch_row($z);
    $result = implode($massiv);

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello, max1987, & welcome. My first thought is that this installation is so far out of date that updating it is the first thing you should probably try. It’d be best to update your core WordPress, your plugins, your themes, and, if required, your PHP version.

    Because outdated websites like this are so frequently compromised (hacked), it might be something to check for, but neither Google nor sucuri are giving me an indication that’s the case, so you might be 1 of the lucky ones.

    You may very well also want to consider installing an SSL certificate in order to keep your login details secure when logging in.

    Please, please, please–update this installation, change your PHP to a supported version, if required (your host may have already done that, which could explain why your WordPress is no longer working), make certain your version of MySQL is up-to-date, & let’s see where that gets us.

    Since you can’t log into the website, you’ll have to use either the command line, your host’s file manager, or some sort of secure file transfer in order to do that. Let us know if you need help w/that.

    I don’t know if your host would help fix this for you or not (I would for my clients, but most hosts don’t). Nonetheless, it never hurts to ask.

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot login due to error’ is closed to new replies.