{"action":"opened","issue":{"url":"https://api.github.com/repos/unlcms/unl_fourone/issues/5","labels_url":"https://api.github.com/repos/unlcms/unl_fourone/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/unlcms/unl_fourone/issues/5/comments","events_url":"https://api.github.com/repos/unlcms/unl_fourone/issues/5/events","html_url":"https://github.com/unlcms/unl_fourone/issues/5","id":128693998,"number":5,"title":"Calling virtual() in templates/html.tpl.php prematurely sends headers.  This makes Drupal sad.","user":{"login":"tsteiner","id":195772,"avatar_url":"https://avatars.githubusercontent.com/u/195772?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteiner","html_url":"https://github.com/tsteiner","followers_url":"https://api.github.com/users/tsteiner/followers","following_url":"https://api.github.com/users/tsteiner/following{/other_user}","gists_url":"https://api.github.com/users/tsteiner/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteiner/subscriptions","organizations_url":"https://api.github.com/users/tsteiner/orgs","repos_url":"https://api.github.com/users/tsteiner/repos","events_url":"https://api.github.com/users/tsteiner/events{/privacy}","received_events_url":"https://api.github.com/users/tsteiner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-26T01:42:09Z","updated_at":"2016-01-26T01:42:09Z","closed_at":null,"body":"From http://php.net/virtual\r\n\r\n>To run the sub-request, all buffers are terminated and flushed to the browser, pending headers are sent too.\r\n\r\nThis is causing sites using the theme to write the following message to the watchdog log at an alarming rate:\r\n>Warning: Cannot modify header information - headers already sent by (output started at /var/www/htdocs/sites/all/themes/unl_fourone/templates/html.tpl.php:5) in drupal_serve_page_from_cache() (line 1385 of /var/www/htdocs/includes/bootstrap.inc).\r\n\r\nRecording this message thousands, if not billions of times is currently the majority of the load on the database server.  Rackspace is doing fine, but Azure can't handle it."}}