When attempting to enable a new locale on an existing Craft 2 site, the task is stalling out at the same point every time. It gets to step 3 which is
Resaving entries and then the following PHP error shows in the logs:
Cannot modify header information - headers already sent by (output started at /var/www/craft/app/services/HttpRequestService.php:1248) (/var/www/craft/app/framework/web/CHttpRequest.php:1514)
This error occurs at the first step of
Resaving entries and seems to happen every time I attempt to restart the Stalled task.
The site is running Craft v2.6.3000
Any thoughts about things to try next would be much appreciated!