Support

Home Forums Event Espresso Premium Cannot Modify Header – Error seems to be after 4.8

Cannot Modify Header – Error seems to be after 4.8

Posted: June 13, 2017 at 2:36 pm

Viewing 14 reply threads


Bob Randklev

June 13, 2017 at 2:36 pm

On checkout for Credit card to Mijreh client is getting this error:

[13-Jun-2017 17:24:46 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/streetsmartsdriversed/public/wp-content/themes/Builder-Hudson/lib/builder-core/lib/main/functions.php:102) in /srv/users/serverpilot/apps/streetsmartsdriversed/public/wp-includes/pluggable.php on line 1210

theme is up to date, flushed cache/cloudflare, updated to latest EE version

Any ideas why this would happen since upgrading to 4.8 on Sunday?


Josh

  • Support Staff

June 13, 2017 at 2:56 pm

Hi Bob,

The error is actually originating from /wp-content/themes/Builder-Hudson/lib/builder-core/lib/main/functions.php:102. Can you contact Builder theme support?


Bob Randklev

June 13, 2017 at 2:59 pm

Here’s a screen shot to review:


Bob Randklev

June 13, 2017 at 3:01 pm


Bob Randklev

June 13, 2017 at 3:01 pm

https://drive.google.com/file/d/0B9eAmCaMjZVTckVycVlPdjExOHRKS3dQYzJjMnB3WGRBTWFF/view?usp=sharing


Josh

  • Support Staff

June 13, 2017 at 3:19 pm

Hi Bob,

Since the error is originating from /wp-content/themes/Builder-Hudson/lib/builder-core/lib/main/functions.php:102 there’s nothing here to review, can you contact iThemes support? I do not have a copy of the iThemes Hudson theme to review line 102 of its /lib/builder-core/lib/main/functions.php file.


Bob Randklev

June 13, 2017 at 5:10 pm

Here’s the code, of course the theme developer is saying it’s the plugin:

function builder_add_doctype() {
if ( current_theme_supports( ‘html5’ ) )
$doctype = ‘<!DOCTYPE html>’;
else
$doctype = ‘<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>&#8217;;

$doctype = apply_filters( ‘builder_filter_doctype’, $doctype );

echo “$doctype\n”;
}


Bob Randklev

June 13, 2017 at 5:21 pm

Here’s a copy of the theme if you can test?

https://www.dropbox.com/s/27bwl2pmo9v4sn9/Builder-Hudson-5.0.46.zip?dl=0


Bob Randklev

June 13, 2017 at 6:13 pm

I also re-slurped the Mijirah payments page… my thought was maybe the 4.8 update broke that page on check out?


Jamal Rahman

June 14, 2017 at 12:53 am

I am having the same issue with the 4.9


Josh

  • Support Staff

June 14, 2017 at 12:00 pm

Can you (or the server’s administrator) change the site’s php.ini file so that output_buffering is on?
output_buffering = On
Then reboot the server?


Tony

  • Support Staff

June 15, 2017 at 4:57 am

We have released 4.9.42.p which includes a minor change that should also prevent the above error from happening.

So if you update to the latest version and retest is it now working?


Bob Randklev

June 15, 2017 at 5:56 am

Thanks we’ve applied and will report what we find


Bob Randklev

June 17, 2017 at 8:08 pm

NO problems reported since we applied the new update so appears to be ok now.

Thanks!


Tony

  • Support Staff

June 19, 2017 at 3:10 am

Great! Thank you for keeping us updated, I’m glad it is working for you.

Viewing 14 reply threads

The support post ‘Cannot Modify Header – Error seems to be after 4.8’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso