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:
$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['link'];
Any help would be much appreciated as I am launching my site today effectively.
Thanks in advance,
Right now, JFBConnect always inserts the Facebook sdk.js onto the page (there's an issue in our tracker for a later release not to add this if Facebook is not used) We see that warning intermittently but it should not affect functionality.
That being said, it is just a warning message that can easily be hidden by going to the Global Configuration area and setting "Error Reporting" to "None" or "System Default". In a normal production/live environment, the setting shouldn't be any higher.
Hi Melissa, this error shows despite tryiing to reset the error reporting to something like none. How I got rid of it is by re-saving the profile settings inside the configuration area of the component - this actually got rid of the erroe but as I say going in to the global config had no bearing on things. Just so you know for other customers. Thanks