The user list does not display any more

5.02K viewsCore
0

The Users menu item no longer lists the users. I get an empty page.

0

No I did not edit it. Here is the file contents of users.php

<a class="ap-btn ap-ask-btn-head pull-right" href="”>

results ) ) {
foreach ( $users->results as $f ) {
$data = $f->data;
$current_user_meta = array_map( function( $a ){ return $a[0]; }, get_user_meta($f->ID));
include(ap_get_theme_location(‘content-user.php’));
}
} else {
_e(‘No users found.’, ‘ap’);
}
?>

results ) ) {
ap_pagi($base, $total_pages, $paged);
}

0

Getting the following error in my PHP logs

20141223T015931: www.stickandrudderstudios.com/index.php
PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /server/srs-wp/wp-content/plugins/anspress-question-answer/theme/default/users.php on line 14

I hope you edited users.php page. plsease show us your code.

0

I am using same version on this site, but its okey here.
Can you tell me if there is any error ? for finding error install Query monitor plugin