BUG: (Fix offered) BP Moderation – Users Tab -> Paging buttons don’t work (error)
BUG: When viewing the ‘Users’ tab on the BP Moderation plugin admin page, and there are enough users in the list to display multiple page numbers, clicking any of the page numbers to navigate results in the error message:
“You do not have sufficient permissions to access this page.”
The problem appears to be caused by the query argument being incorrectly named `page` instead of `cpage` and is easily resolved as follows:
Edit the file: wp-contentpluginsbp-moderationclassesbpModBackend.php :
Line 898, change to:
`’base’ => add_query_arg(‘cpage’, ‘%#%’),`
Line 1152 &1153, change to:
`$page_index = (isset($_GET) && intval($_GET))
? intval($_GET) – 1 : 0;`
I can confirm this bug appears in the latest version of the BP Moderation plugin (v 0.1.6). Also seen in v 0.1.4
I hope this helps others resolve if they are experiencing similar issues.
- The topic ‘BUG: (Fix offered) BP Moderation – Users Tab -> Paging buttons don’t work (error)’ is closed to new replies.