Hi there, after trying to get some roles, all accounts get the message:
Die Website hat technische Schwierigkeiten. Bitte prüfe das E-Mail-Postfach des Website-Administrators, um dort weitere Anweisungen zu finden: The site has technical difficulties. Please check the website administrator’s e-mail inbox for further instructions.
Any ideas what is wrong?
]]>This error shows in the wp-admin interface even when WP_DEBUG is set to false.
[2019-07-11 19:52:44] Backtrace from warning ‘Missing argument 4 for wp_maybe_grant_site_health_caps()’ at […]/wp-includes/capabilities.php 999:
calling wp_maybe_grant_site_health_caps()
[…]/wp-includes/class-wp-hook.php 286 calling call_user_func_array()
[…]/wp-includes/plugin.php 208 calling apply_filters()
[…]/wp-content/plugins/role-scoper/cap-interceptor_rs.php 979 calling apply_filters()
[…]/wp-content/plugins/role-scoper/role-scoper_main.php 1098 calling _cr_user_can()
[…]/wp-content/plugins/role-scoper/admin/permission_lib_rs.php 110 calling cr_user_can()
[…]/wp-content/plugins/role-scoper/admin/admin_rs.php 755 calling user_can_admin_object_rs()
[…]/wp-content/plugins/role-scoper/admin/admin_rs.php 463 calling user_can_admin_object()
calling build_menu()
[…]/wp-includes/class-wp-hook.php 286 calling call_user_func_array()
[…]/wp-includes/class-wp-hook.php 310 calling apply_filters()
[…]/wp-includes/plugin.php 465 calling do_action()
[…]/wp-admin/includes/menu.php 154 calling do_action()
[…]/wp-admin/menu.php 309 calling require_once()
[…]/wp-admin/admin.php 152 calling require()
[…]/wp-admin/index.php 10 calling require_once()
Hello
When I turned on this plugin on my website in wordpress. This message is displayed on every page.
Warning: Parameter 2 to CommentsInterceptor_Administrator_RS::flt_
comments_clauses() expected to be a reference, value given in
C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-hook.php on line
286
How i can fix this problem?
This is a great plugin, but I noticed today that when activated, I’m unable to use some Jetpack features like Tiled Mosaic galleries. Deactivating Role Scoper and tiled galleries work again.
I’ve not customized RS to any large degree. I created a group and added users to that group, but haven’t made any global changes affecting all users.
Any recommendations?
]]>My pages that are restricted for editing by users are showing as blank when they attempt to edit.
Recent update to wp 4.9.2 and RS 1.4.4
No errors in log, nothing in console
]]>Hi,
I have a problem with WP 4.8, Role Scoper 1.4.4 and Event Organiser 3.3.0.
I have set permissions and limitations for a group of users.
But when a group user goes to write a new event (back-end side), he can also use prohibited categories.
At least if he attempts to modify the event he is properly limited.
Thanks in advance.
]]>I a 500 Error when a user other than an Admin logs in to the wordpress back end. The error log shows:
PHP Warning: Invalid argument supplied for foreach() in ….plugins/role-scoper/admin/filters-admin-save_rs.php on line 13.
Any fixes?
]]>Hi,
I have installed bbpress, bbpress notify ( to send emails) and role scoper to give access.
Role scoper is used to give access to forums. Bbpress notify sends an email to all users in the system notifying the update in it. Is there any way to prevent it and send emails to authorized users.
Regards
Guru
Hi! I am trying to get all of our websites upgraded to PHP 7 and I discovered that Role Scoper is not compatible. Could you please address the 21 errors that can be displayed using https://www.ads-software.com/plugins/php-compatibility-checker/
Thank you!
]]>For example, I assign user roles as following:
role A in subsite A
role B in subsite B
role C in subsite C
and if users in subsite A finished some task, his role will automatically upgrade to Role B, and got permission to access B, but no permission to access Subsite C yet.
I know permission in every subsite is up to role capability, so my only question here is how should I make users role auto synchronized in whole Musites? can I Role Scoper to do that, or should I use any other plugin?
Thanks so much, have a nice day.
Alex
]]>Hello!
Rolescoper does not allow visitors to see comments. Only registered and logged in users can see comments on public page. Is there a setting to disable check for comments? or something else that allows visitors to see comments on page.
]]>Hi,
My WordPress site is down. If i rename the folder Plugin of Role Scoper, it work again !
In apache logs, i found this error message :
Cannot redeclare class WP_Nonpersistent_Object_Cache in /var/www/wp-content/plugins/role-scoper/hardway/cache-persistent.php on line 122
Thank you for your help!
Fred
wp_set_object_terms() works by calling wp_get_object_terms($object_id, $taxonomy, array(‘fields’ => ‘tt_ids’, ‘orderby’ => ‘none’)), comparing to the given terms, and then deleting any that have been removed. It assumes that the call to wp_get_object_terms($object_id, $taxonomy, array(‘fields’ => ‘tt_ids’, ‘orderby’ => ‘none’) will return an array of IDs, which it does by default.
Role Scoper adds a get_terms filter to flt_get_tags in hardway/hardway-front_rs.php which turns this array of IDs into an array of objects, breaking wp_set_object_terms().
I have worked around this by adding tt_ids to the line:
if ( ( ‘ids’ == $fields ) || ! $hide_empty )
but I don’t think this is necessarily complete. e.g. looking at the “Standard WP post-processing” section of terms-interceptor_rs.php and comparing against wp-includes/class-wp-term-query.php shows a number of things missing, including tt_ids but others too.
Dear sir
When I active role scoper for other user, and they publish in their accounts I get the following error.. How do i Solve the problem. Ive beeing trying to deactivate, elimnate and reaload Role Scoper doing according to the instructions, but again appears;
Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home2/maucozzi/public_html/wp-includes/wp-db.php on line 1171
Warning: Cannot modify header information – headers already sent by (output started at /home2/maucozzi/public_html/wp-includes/wp-db.php:1171) in /home2/maucozzi/public_html/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at /home2/maucozzi/public_html/wp-includes/wp-db.php:1171) in /home2/maucozzi/public_html/wp-includes/pluggable.php on line 1179
]]>Hi Guys,
I have a docker environment for development, and Role Scoper is defined on my docker.json, to load version 1.4.1, when I execute the php update, it says that this version is instaled, but when I access the system, it shows that version is 1.4.
And lots of problems occurs when this happens, like button “Publish” disapears, “Save as Draft” causes the whole application to fail.
Any sugestions to solve this?
]]>I’m still looking into it, but the List Category Post plugin (v0.70) doesn’t include the category name in permalinks it creates if I’m running WordPress 4.7 and Role Scoper 1.4.1. So the permalink doesn’t work. Other permlinks (not created by List Category Post) are fine (I think, haven’t checked thoroughly). If I turn off Role Scoper then the List Category Post plugin works normally. This wasn’t a problem with previous version of WordPress (been using both these plugins for years).
List Category Post calls “get_permalink”. I’ve been tracing that through trying to figure out where Role Scoper intercepts it. wp-includes/taxonomy.php’s function “get_object_term_cache” appears to be returning an empty array instead of ‘false’ or the expected data. If I modify the “get_the_terms” function in wp-includes/category-template.php to always call wp_get_object_terms (as if the cache check returned false) then the permalinks created by List Category Post are correct.
My thought is maybe something else needs to be changed in terms-interceptor_rs.php besides the change you made for 1.4.1, but I really don’t understand how Role Scoper works under the hood at all. Any ideas?
]]>Throws a server error when a user tries to edit a page or post. Admins are fine. Editors and below throws a 500 error.
]]>I just installed this plugin to help me solve an issue, but the options are too many and I cound’t find the documentation.
I have my site’s authors and editors setup. I have also created different roles to group departments (e.g. sales, marketing etc). In the “sales” role, I have one editor and many authors. What I want to do is to allow the editor of the “sales” role to edit/delete posts from the authors in the “sales” role, but restrict the same functionality for editors from the “marketing” role.
How can I achieve that?
]]>Notice: Undefined index: in /var/www/html/wp-content/plugins/role-scoper/cap-interceptor_rs.php on line 872
]]>Hi all!
From the Media Library, when clicking on “Attach” for a file unattached, a popup screen named “Attach to existing content” shows up and lists recent posts. The problem is that ALL posts are in this list, even those that are not supposed to be visible by the connected user. Of course, we see only the posts’ titles, but…
I noticed this while testing WP4.6 + RoleScoper 1.3.66. I’ve done the update to RoleScoper 1.4: same result.
Actually, this issue was already there with WP4.3.1 + RoleScoper 1.3.66.
Same result after disabling all other plugins/themes.
The good news: if you try to attach the file to a post that does not belong to you, you receive an error message (“Sorry, you are not allowed to edit this post”)
Does anyone have an idea to fix this issue? Thanks!
]]>For the second time this week I’ve received an alert from the Wordfence security plugin that there may be malicious files in the following folders:
* File appears to be malicious: wp-content/cache/rs/ffe625595b129296bf553ed9880cbc64/all_usergroups/ca61e01c1cdbcd1d01c76be7598b78dd.php
* File appears to be malicious: wp-content/cache/rs/ffe625595b129296bf553ed9880cbc64/rs_get_terms_for_ug/6711d9b4d94ce346d2baa3dd32abe4ee.php
* File appears to be malicious: wp-content/cache/rs/ffe625595b129296bf553ed9880cbc64/rs_get_terms_for_ug/8b0ca44dddc42523323eb64a0f8a6da1.php
I want to make sure that these are just false positives and there aren’t any security issues with the plugin. I’ve deleted and reinstalled Role Scoper just in case there was a backdoor hack in place.
Thanks!
]]>I’m wondering if there is a way to set this up to where when someone registers on the site, it will automatically set specific roles.
More specifically, i can already make the default user role “author” which is fine, however, i then need to go into Roles/General, and select specific things that i want people to have access to.
In my case, i’m using a real estate plugin, and there is a section for property, land, commercial blah blah. the way that plugin works, is it essentially creates a new page for each listing.
a user registers with my site, and then should be able to list their home. However, at the moment, i have to manually give them access. I need it to be automatically set. This is actually a very simplistic explanation of an incredibly complicated issue.
but…. long story short….
How do i make it automatic, instead of having to go to “assign general roles” and then select the user, and add them manually???
Also, i have ZERO use for whoever signs up, to be able to post to “pages” itself. which, seems to always show up regardless of what i do.
look.. is there ANYONE here who could walk me through this thing and set it up how i need it? KEVIN B do you want to make a few bucks????? i’m not going to trust just anyone to have access to my site lol.
]]>Hi
How can i add restriction for user,
the user can only view and edit the specific category assign for him only .
Restriction over category.
I try the link provide for user guide but
its shows “page not found”
https://agapetry.net/downloads/RoleScoper_UsageGuide.htm
Can you help.
]]>Hi,
can i add permission to user for specific category.
That user can only view and edit specific category.
I try the link
https://agapetry.net/downloads/RoleScoper_UsageGuide.htm
but its shows “page not found”
Can you help me ..
Hi,
I have several user roles with different set of privileges. What I need is that one of those is able to also add pages. Unfortunately Role scoper does not allow this and whatever settings I use I always end up having this error message:
“You are not allowed to edit this page.” once I clicked on publish button.
Can you please help on this?
Thank you
]]>hello ,, I have univeristy website and Im new with role scoper and I want to do this list :
1- make private pages to teachers ( with custom group )
2- make private pages to students ( with custom group )
3- custom page and sub-page can modified by custom users ( author )
4- one user can add posts to one or 2 categories
how to do that please
]]>I have a specific ajax call that loads /wp-load.php and /wp-config.php, and prints results from a WP_Query for a custom post type. This completely breaks (empty array) for non-logged-in users when this roles plugin is enabled.
]]>Hello,
I’m looking to add a new section to my website. In this section there will be different pages about a specific topic and I’ll be hopefully handing this section over to another author.
I’m looking to see if there is a way I can make this author able to write, edit and post articles only within this category? So they’d essentially have control but as site owner and page admin I could remove things if necessary. They’d also not be able to edit the actual website or change any posts out with their category .. is there a way I can do this please advise!!
Thanks x
]]>I am looking for a solution for the following scenario:
+ Pupils in a class writes articles (posts), then save them for reviewing. They are not allowed to publish the article themselves.
+ A teacher is assigned as the editor of the group, and is being alerted via email when reviews are pending. S/he can publish.
+ Several such constellations are needed, the editors assigned to each user group should only receive alerts about pending reviews from their group.
Is the Role Scoper plugin of help with this? Thank you in advance.
]]>I activated the plugin and all the products disappear.
I disable the plugin and the products appear.
How I can active the plugin and still show all the products for everyone?
]]>