stephenrust
Forum Replies Created
-
Forum: Plugins
In reply to: [GDPR] Privacy Banner vs. Total OverlayThanks, @fclaussen. I noticed that right after I posted the issue. Thanks again for your work on this!
Forum: Plugins
In reply to: [Asgaros Forum] do_shortcodeMake sure that line is enclosed in php tags.
It should look like this:
<?php echo do_shortcode('[your shortcode]'); ?>I purchased a theme from a well-known provider.
I was able to identify the problem, hopefully my explanation below will help anyone else experiencing this issue.
I was able to determine the issue server-side, as I do not have PHP error reporting enabled right now. The issue is well documented, and WordPress has addressed it in their FAQ under the “How do I solve the Headers already sent warning problem?”
However, WP’s solution didn’t fix my error, as the issue they describe that causes the error was not present in the offending file.
The issue was an offending PHP file that was attempting to send data echoed out by a line in the file when the header had already been sent. More info on this here.
The cause of the issue is mentioned in the Stack Overflow question above. I fixed the issue by putting the following at the top of my wp-config file:
ob_start();
More information on that function here.I’ve confirmed that the issue does not occur when I’m running the 2017 theme. However, when I activate my custom theme, the issue occurs.
Any thoughts as to what could cause this behavior?
Yes, I should’ve been clearer in my previous post. I disabled all other plugins except for Yoast, and the error occurred. When all plugins including Yoast were disabled, the error did not occur.
- This reply was modified 8 years, 10 months ago by stephenrust.