Cannot Login – ERROR: Cookies are blocked due to unexpected output.

Posted in: Newspaper
Post count: 7

Hi,
from last night the site won’t let me login.
The login.php loads with the message ERROR: Cookies are blocked due to unexpected output.
And it won;t let me login

Last night i have recieved the followin e-mail:
Dear Site Admin,
The following is a summary of security related activity on your site. For details please visit the security logs
Lockouts: There has been 1 user or username locked out for attempting to log in with incorrect credentials.
This email was generated automatically by iThemes Security
To change your email preferences please visit the plugin settings.
—————————————————————————-
Please advise

Post count: 7

I have created debug log by adding
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
in wp-config.php – This gave me e debug.log file in wp-content
Which says:
[28-Sep-2016 11:11:12 UTC] PHP Notice: Trying to get property of non-object in /var/www/vhosts/1/129214/webspace/siteapps/WordPress-20922/htdocs/wp-content/plugins/jetpack/modules/gravatar-hovercards.php on line 238

So please advise what to do

Post count: 23312

Hello tandriot,

Unfortunately, this is not a theme related but only just WordPress related. Please try to follow the steps which are presented to this topic here -> http://wordpress.stackexchange.com/questions/208878/login-page-error-cookies-are-blocked-due-to-unexpected-output and check the results.

Hope this helps!

Thanks for your understanding!

Post count: 7

OK Thank you

For the moment i just edded
ob_start();
error_reporting(0);
in wp-config.php on the first line and problem solved.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.