For the default theme test, did you try it with other plugins disabled? The interesting one is when it worked; does this mean LearnPress includes its own login form and functions? That could be what’s creating the problem, having 2 login systems. If LearnPress has something built in it’s probably safer just to use that. It looks like these are debug messages, so if nothing is breaking you may just want to turn debug off so you don’t see the warnings.
Hi Uncanny Owl,
Thanks for getting back to me.
No, for the default theme test, I had all plugins enabled.
I don’t think LearnPress has its own login form. I used WordPress’ login at MYDOMAIN.com/wp-admin – which isn’t very elegant.
I haven’t enabled debug and that’s the only messages shown on the page. No login or profile or any other links. Just error messages.
I ran this by one of our developers and we haven’t been able to reproduce this locally. From the test cases, it’s not clear if you also ran the test with a default theme and the Toolkit activated ONLY. If you didn’t, give that a try. If that works, try reactivating plugins and testing login to see if you can identify when the error is triggered.
So I just did what you suggested.
Only one plugin activated – the Uncanny Toolkit (that complained because LearnDash wasn’t active).
Default theme – 2019.
Same error:
Warning: Cannot modify header information – headers already sent by (output started at /home4/malka/public_html/britt/MYDOMAIN/wp-content/themes/twentynineteen/header.php:13) in /home4/malka/public_html/britt/MYDOMAIN/wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information – headers already sent by (output started at /home4/malka/public_html/britt/MYDOMAIN/wp-content/themes/twentynineteen/header.php:13) in /home4/malka/public_html/britt/MYDOMAIN/wp-includes/pluggable.php on line 1254
Now, since my husband has the same error on his domain, I wonder if it’s related to Hostgator. What do you think?
It does seem unlikely that it’s Hostgator related, but that’s very interesting that you had the same experience on another site (did it have this plugin?). Hostgator isn’t something we use for LearnDash sites and don’t generally see it used either; you’ll usually find better LearnDash site performance elsewhere.
Hostgator works surprisingly well. But it has its quirks.
Anyway, yes, the other site also has the Uncanny plugin and LearnDash.
Okay, as long as the error only happens when people change their password, I can live with it.
I have the exact same issue with my LearnDash website as well but hosted with Siteground. We have done extensive test of disabling all plugins and trying with default theme etc. We had it narrow down the issue with Uncanny LearnDash Toolkit as the issue only appears when the plugin is active.
We disabled the plugin and did the forgot password with default WP functionality and it worked like a charm. This issue is a recent so not sure if it is the clash with newer WP versions.
Please let us know if you can look into it. This is annoying as we have received few emails from customers saying they cant update password.
This is the error in my case:
Warning: Cannot modify header information – headers already sent by (output started at /home/mydomain/public_html/learn/wp-content/themes/theme/header.php:32) in /home/mydomain/public_html/learn/wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information – headers already sent by (output started at /home/mydomain/public_html/learn/wp-content/themes/theme/header.php:32) in /home/consclai/public_html/learn/wp-includes/pluggable.php on line 1254
===
Thanks for the feedback. We’re going to take another look and wonder if it may have something to do with reCaptcha settings. We’ll post an update here after doing some more internal testing.
I am happy to share login details if it helps. Just need to know how to share securely.
Just to add to that, this the error I get when it is the default 2019 WordPress theme with only below plugins activated:
LearnDash LMS
LearnDash LMS – Notifications
LearnDash ProPanel
Uncanny LearnDash Toolkit
===
Warning: Cannot modify header information – headers already sent by (output started at /home/mydomain/staging/1/wp-includes/class.wp-styles.php:242) in /home/mydomain/staging/1/wp-includes/pluggable.php on line 1251
===
I have verified that all the above plugins, theme and WordPress is running the latest. I tried after updating to all of the latest. Still same issue.
-
This reply was modified 6 years, 10 months ago by
mazmohad.
@mazmohad , the error started recently for me, too. Unfortunately, I didn’t write down when it happened. I thought it was just a one-time glitch.
We were able to reproduce this in a test environment and implemented a fix that will address it. The correction for this will be included in the next release. Thanks for alerting us to it!
Thats great to hear. When will be the next release? Sorry for pushing as more customers are experiencing this issue. Thanks!
Based on internal tracking sometime this week is likely.
We just released the update that should resolve this for you. Do you want to give the update a try and see if the error you saw before is gone?