Title: Role Manager giving problems
Last modified: August 19, 2016

---

# Role Manager giving problems

 *  [joshuahlj](https://wordpress.org/support/users/joshuahlj/)
 * (@joshuahlj)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/)
 * Hey, I know there are loads of other similar problems on the forums but I believe
   it isn’t the same (or I’m just too noobish to understand it). So anyway, I recently
   installed the plugin role manager 2.0. After installing it, now my public (non-
   registered) viewers can’t view my published pages. Registered users still can
   see it normally. The error message that comes out is
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/vhosts/sicjunioryouthministry.ueuo.com/wp-includes/widgets.php:689) 
   in /home/vhosts/sicjunioryouthministry.ueuo.com/wp-includes/pluggable.php on 
   line 850
 * This is my widgets.php file code around line 689 (line 689 in bold)
 * function wp_widget_pages( $args ) {
    extract( $args ); $options = get_option(‘
   widget_pages’ );
 *  $title = empty( $options[‘title’] ) ? __( ‘Pages’ ) : apply_filters(‘widget_title’,
   $options[‘title’]);
    $sortby = empty( $options[‘sortby’] ) ? ‘menu_order’ : $
   options[‘sortby’]; $exclude = empty( $options[‘exclude’] ) ? ” : $options[‘exclude’];
 *  if ( $sortby == ‘menu_order’ ) {
    $sortby = ‘menu_order, post_title’; }
 *  $out = wp_list_pages( array(‘title_li’ => ”, ‘echo’ => 0, ‘sort_column’ => $
   sortby, ‘exclude’ => $exclude) );
 *  if ( !empty( $out ) ) {
    ?> <?php echo $before_widget; ?> <?php echo $before_title.
   $title . $after_title; ?>
    -  ** <?php echo $out; ?>**
 *  <?php echo $after_widget; ?>
    <?php } }
 * /**
    * Display and process pages widget options form. * * [@since](https://wordpress.org/support/users/since/)
   2.2.0 */ function wp_widget_pages_control() {

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

 *  Thread Starter [joshuahlj](https://wordpress.org/support/users/joshuahlj/)
 * (@joshuahlj)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062716)
 * (edited, there are no spaces around line 689)
 * function wp_widget_pages( $args ) {
    extract( $args ); $options = get_option(‘
   widget_pages’ );
 *  $title = empty( $options[‘title’] ) ? __( ‘Pages’ ) : apply_filters(‘widget_title’,
   $options[‘title’]);
    $sortby = empty( $options[‘sortby’] ) ? ‘menu_order’ : $
   options[‘sortby’]; $exclude = empty( $options[‘exclude’] ) ? ” : $options[‘exclude’];
 *  if ( $sortby == ‘menu_order’ ) {
    $sortby = ‘menu_order, post_title’; }
 *  $out = wp_list_pages( array(‘title_li’ => ”, ‘echo’ => 0, ‘sort_column’ => $
   sortby, ‘exclude’ => $exclude) );
 *  if ( !empty( $out ) ) {
    ?> <?php echo $before_widget; ?> <?php echo $before_title.
   $title . $after_title; ?>
    -  <?php echo $out; ?>
 *  <?php echo $after_widget; ?>
    <?php } }
 * /**
    * Display and process pages widget options form. * * [@since](https://wordpress.org/support/users/since/)
   2.2.0 */ function wp_widget_pages_control() {
 *  Thread Starter [joshuahlj](https://wordpress.org/support/users/joshuahlj/)
 * (@joshuahlj)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062717)
 * now that i posted the code, i see the spaces around 689, but they aren’t showing
   in notepad
 *  Thread Starter [joshuahlj](https://wordpress.org/support/users/joshuahlj/)
 * (@joshuahlj)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062757)
 * Sorry, I checked and even though it looks like it, there is no spacing there.
   So somebody please help me!!!
 *  [asechrest](https://wordpress.org/support/users/asechrest/)
 * (@asechrest)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062761)
 * Does the problem go away if you uninstall Role Manager?
 *  Thread Starter [joshuahlj](https://wordpress.org/support/users/joshuahlj/)
 * (@joshuahlj)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062786)
 * No, =( apparently according to the role manager site, role manager actually modifies
   the database. So it doesn’t go away. I’m so not installing plugins without reading
   more comments. But the site ratings was high and there was like 2000 comments.
 * If you need any information (codes etc) from my site. please let me know
 *  [asechrest](https://wordpress.org/support/users/asechrest/)
 * (@asechrest)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062791)
 * You say you installed Role Manager 2.0. Do you actually mean the latest version,
   2.2.3?
 * I use Role Manager 2.2.3 on my site with no issue, as do many others, so it may
   be something specific to your setup.
 * Unfortunately I don’t think I can diagnose your problem. Maybe someone else can
   help.
 *  Thread Starter [joshuahlj](https://wordpress.org/support/users/joshuahlj/)
 * (@joshuahlj)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062793)
 * Yes, sorry. It’s version is 2.2.3. Okay, thanks for your help. If you know of
   anybody that may be able to help, please direct him/her to this page. The author
   of the plugin is inactive. Thanks
 *  Thread Starter [joshuahlj](https://wordpress.org/support/users/joshuahlj/)
 * (@joshuahlj)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062805)
 * Desperate need for help! I just realised that only admins can see the pages. 
   Not registered users as I originally assumed.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062808)
 * [http://wordpress.org/support/topic/266386?replies=2](http://wordpress.org/support/topic/266386?replies=2)

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

The topic ‘Role Manager giving problems’ is closed to new replies.

 * 9 replies
 * 3 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/role-manager-giving-problems/#post-1062808)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
