• Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home4/bl/public_html/domain/wp-admin/includes/template.php:2041) in /home4/bl/public_html/domain/wp-content/plugins/facebook-auto-publish/admin/authorization.php on line 12

    The plugin seems to be working fine but is there a way to address/resolve this warning?

Viewing 6 replies - 1 through 6 (of 6 total)
  • please update the plugin to the latest version or change //ob_start(); in the file facebook-auto-publish.php line number 32 to ob_start();(ie, remove // from the beginning of //ob_start(); to uncomment).
    If any doubts,please let us know.
    Hope it helps .
    Thank you.

    Thread Starter Revived

    (@revived)

    Uncommenting did indeed remove the warning.

    Is this an issue that will be resolved in a future update? Or do you believe it’s something specific with my installation or another plugin?

    ob_start() is used to enable output buffering in php,without output buffering (the default), your HTML is sent to the browser in pieces as PHP processes through your script. With output buffering, your HTML is stored in a variable and sent to the browser as one piece at the end of your script.
    That’s why you have encountered the headers already sent message.
    The latest version is updated with the fix to it(but version is the same).
    This issue will be resolved in the next update since issue persist in some cases.
    Thank you for your feedback.
    Have a nice day.

    Thread Starter Revived

    (@revived)

    OK, good to know thanks!

    I am having the same problem. I am using the current version of the plugin and uncommented “//ob_start();”, but now receive this error:

    Unable to authorize the facebook application. Please check your curl/fopen and firewall settings.

    • This reply was modified 8 years, 2 months ago by ktaylor310.

    There are 3 reason for this issue.
    *The curl/fopen is not enabled in the server
    *The firewall is restricting the connection to facebook.
    *The entered fb app details are not correct. (Please reset your app secret password and try again)

    Please contact your hosting team to check the first 2 points (curl/fopen and firewall).
    For the third issue, please make sure that your have created the app using the instructions in How can I create Facebook application?
    Hope it helps.
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Seeing php warning on settings page’ is closed to new replies.