Cannot modify headers error updating users

Permalink
I'm adding avatars to the users on my site, but I get an error about 'Cannot modify headers, already sent' and refers to line 160 in the avatar.php file

$res2 = imageJPEG($image, $newPath, Loader::helper('image')->defaultJpegCompression());


and line 957 in the concrete > core > libraries > view.php

header("Content-Type: text/html; charset=" . APP_CHARSET);


This site has been moved between several servers throughout its development. That may have something to do with it.

I've emptied the cache.

FatTony1952
 
FatTony1952 replied on at Permalink Reply
FatTony1952
Nevermind. Someone deleted the avatars directory.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.