WordPress.org

Forums

WP User Frontend
[resolved] Works great, breaks if unregistered (3 posts)

  1. thelaw
    Member
    Posted 3 years ago #

    Editing works well but I tried to access the edit page as a non-logged in user and got an error.
    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/wp-content/themes/mytheme/header.php:2) in /home/mysite/public_html/wp-includes/pluggable.php on line 866

    It's this issue that gets hit:

    header("Location: $location", true, $status);

    Only in this plugin, not sure why. Other themes also have this problem, even the stock TwentyTen.

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. Tareq Hasan
    Member
    Plugin Author

    Posted 3 years ago #

  3. thelaw
    Member
    Posted 3 years ago #

    Impressive. Thanks for the quick response. Now it gives the proper message requiring a login. Look forward to your updates and the start of something that it looks like you're excited about.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic