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 2.2.0
*/
function wp_widget_pages_control() {
- The topic ‘Role Manager giving problems’ is closed to new replies.