php - Wordpress error trying to login via wp-admin

663

I made a website in Wordpress and used a free hosting service because we were two guys working on it. Now my client has finally bought the domain and the hosting and forwarded me the account information.

So I created the database, imported the other one (changed the URLs and stuff), uploaded the files. The website works perfectly but when I try to access the wp-admin area, it prompts me for the username and password and after I hit enter it hits me with this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/rrozc21/public_html/wp-includes/class-phpass.php:483) in /home/rrozc21/public_html/wp-includes/pluggable.php on line 1315

I get this error 4 times on lines: 1315, 1317, 1319 and 1343.

I have no PHP knowledge and don't know how to fix this. I'm a web designer, not a programmer.

972

Answer

Solution:

You just check:

  1. The problem is likely caused by a plugin (since pluggable.php is involved). Try deactivating them one by one at a time.

  2. or may you have gotten some text or whitespace (spaces, newline) before the opening PHP tag or after the closing PHP tag in your theme's functions.php file. There can't be a single character before or after those tags.

may this help....

People are also looking for solutions to the problem: php - How to get innerHTML of DOMNode?

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.