Warning: Cannot modify header information - headers already sent by All in One SEO Pack Troubleshooting Forum

The support forums have a new home! Please visit All in One SEO Pack's new residence at Semper Plugins to purchase a support plan.

 
You must be logged in to post
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Warning: Cannot modify header information – headers already sent by

Post
New Member

thoden

posts 1

11:51 am February 20, 2010

I get the following error whenever I try to update a page or really do anything in the admin area:

Warning: Cannot modify header information – headers already sent by (output started at /home/thoden/public_html/jtestserver.info/auntodie/wordpress/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php:4545) in /home/thoden/public_html/jtestserver.info/auntodie/wordpress/wp-includes/pluggable.php on line 868

I do not have ANY plugins installed or enabled. Nor did I have any to begin with. All in One is the first plugin I installed.

How do I get rid of this error?

thank you

Jennifer


New Member

jbsa

posts 2

2:42 am February 27, 2010

Post edited 9:04 am – February 27, 2010 by jbsa
Post edited 11:12 am – February 27, 2010 by jbsa


Hi,

I just bought the plug in as I have used the old free version for a couple of years and felt it was time to pay. I have also got a similar message:

Warning: require_once(/homepages/9/d168201024/htdocs/My-Site/wp-content/plugins/all-in-one-seo-pack-pro/aioseop.class.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/9/d168201024/htdocs/My-SIte/wp-content/plugins/all-in-one-seo-pack-pro-1/all_in_one_seo_pack.php on line 487

I currently use WP:2.9

Please advise.

Best wishes,

Jbsa

New Member

jbsa

posts 2

1:59 am March 6, 2010

I take this forum is closed and that the product has no support. I will request a refund. Shame, really liked All in One Seo.

New Member

carbonlife

posts 1

3:07 pm October 30, 2010

Had the same problem, a came up with this solution. Can't say for sure if its the proper way to handle this, and if you ever upgrade your WP in the future, you will need to modify this file again. With that said, my solution was…

1) Locate and open the file 'wp-includes/pluggable.php'

2) On or around line '874', look for the function wp_redirect()

3) Change the current code:
//…
if ( php_sapi_name() != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
header("Location: $location", true, $status);
//…

To this modified code:
//…
if ( php_sapi_name() != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
try {
header("Location: $location", true, $status);

} catch (Exception $e) {
echo '';
}
//…

4) Save, Upload, and Test…

For whatever reason when the header() is set, it's throwing the error. All it wants to do is get back to the page you were editing, so by using a simple refresh, it does its job, and sends you back to the page you were on.

Good luck…


About the WordPress Developer Forum

Forum Timezone: America/New_York

Most Users Ever Online: 205

Currently Online:
16 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 5
Forums: 23
Topics: 1543
Posts: 3447

Membership:

There are 6357 Members

There are 4 Admins
There are 3 Moderators