Hi there, I have an urgent issue on my website currently where this error is displaying: Warning: Cannot modify header information - headers already sent by (output started at /home/busin672/public_html/components/com_jfbconnect/libraries/profile/facebook.php:70) in /home/busin672/public_html/components/com_jfbconnect/libraries/provider/facebook.php on line 277
I dont even use facebook on my site so not sure why this error is showing up here. This is urgent as the errors are displaying to the general public here.
On line 277 in the plugins script there is this code but as I say I dont use facebook and not sure why now this is showing as worked great for a month:
Code:
function getProfileUrl($fbUserId)
{
$profileUrl = JFBCFactory::cache()->get('facebook.link.' . '.' . $fbUserId);
if ($profileUrl === false)
{
$profileData = JFBCFactory::provider('facebook')->api('/' . $fbUserId . '?fields=link');
if (is_array($profileData) && array_key_exists('link', $profileData))
{
$profileUrl = $profileData;
}
Any help would be much appreciated as I am launching my site today effectively.
Thanks in advance,
James