php - Wordpress error trying to login via wp-admin
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.
Answer
Solution:
You just check:
The problem is likely caused by a plugin (since pluggable.php is involved). Try deactivating them one by one at a time.
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....