WordPress.org

Forums

Simple Facebook Connect
[resolved] Auto-Publish Errors (Due to Front End Post Form?) (6 posts)

  1. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    I get the following errors whenever I post on my site. SFC works great on a bunch of other sites I have, so I assume it would have to do with the only thing I'm doing different, which is posting from the front-end.

    Anyone know is posting from the front end is in fact, the problem? If so, anything I can do to remedy it?

    Thanks much!

    (If the post form code is required, I'm happy to dump it into a pastebin)

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/r/v/o/rvoodoo/html/grapesmash/wp-includes/post-template.php:915) in /home/content/r/v/o/rvoodoo/html/grapesmash/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php on line 395
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/r/v/o/rvoodoo/html/grapesmash/wp-includes/post-template.php:915) in /home/content/r/v/o/rvoodoo/html/grapesmash/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php on line 395
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/r/v/o/rvoodoo/html/grapesmash/wp-includes/post-template.php:915) in /home/content/r/v/o/rvoodoo/html/grapesmash/wp-content/plugins/simple-facebook-connect/facebook-platform/facebook.php on line 399
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/r/v/o/rvoodoo/html/grapesmash/wp-includes/post-template.php:915) in /home/content/r/v/o/rvoodoo/html/grapesmash/wp-includes/pluggable.php on line 897

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 4 years ago #

    Most likely problem is that you did not Save the settings page after granting the permissions.

    The act of saving the settings on SFC-Publish causes it to go talk to Facebook and get your authorization keys. If you grant the permissions, you still have to hit Save for it to work.

    This would likely only occur with auto-publish turned on.

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    That seems to have killed 3 of the errors, I have this one remaining

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/r/v/o/rvoodoo/html/grapesmash/wp-includes/post-template.php:915) in /home/content/r/v/o/rvoodoo/html/grapesmash/wp-includes/pluggable.php on line 897

    Any further ideas? Appreciate the help thus far... kinda silly after setting up your plugin so many times I still jack it up!

  4. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 4 years ago #

    Somehow, you're calling wp_page_menu before trying to do a wp_redirect. Probably something in your theme.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    Yep yep yep.... I apprecuiate the help!!

    It was definitely on my end. I try to redirect to the new post from the post on front end form. And for the life of me, it will not work.

    I have no idea how to do a wp_redirect it seems..... I've looked at every post from front end example on the web, and what others have, no worky for me

    But either way, you helped me track down the issue, and at least get rid of any errors.

    Much appreciated....now to just figure out the redirect crap.... lol

    Thanks!!

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    And now I figured that out too.... I had my form processing code way down where it shouldn't be in the code flow...

    All betta!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic