WordPress.org

Ready to get started?Download WordPress

Forums

Role Scoper
[resolved] Fatal error : Call to undefined function plural_name_from_cap_rs() (7 posts)

  1. arleuein
    Member
    Posted 3 years ago #

    Hi,

    Big problem with the last version of RS. I have this message :

    Fatal error: Call to undefined function plural_name_from_cap_rs() in ~/wp-content/plugins/role-scoper/definitions_cr.php on line 306

    And no more website ... I must disabled the plugin. Can you fix that ?

  2. kevinB
    Member
    Plugin Author

    Posted 3 years ago #

    It sounds like you either had a file upload error or tried to access the site while upload was in progress. That function is defined before any access attempts to its functions.

    But if you still think this is a source code error, you can rule it out by adding this right in role-scoper.php, right below the top comment block:

    require_once( 'wp-cap-helper_cr.php' );

  3. kevinB
    Member
    Plugin Author

    Posted 3 years ago #

    ...and make sure you don't have an old copy of wp-cap-helper_cr.php

  4. arleuein
    Member
    Posted 3 years ago #

    After the update, all was running without any issue. But 30 min later, I had this error. I try to re-upload RS.

  5. kevinB
    Member
    Plugin Author

    Posted 3 years ago #

    This error occurs when another plugin prevents Role Scoper from defining the pluggable WP function 'set_current_user'. RS cannot coexist with another plugin that defines it or causes early execution of pluggable.php. However, the updated Role Scoper version 1.3.30 will fail gracefully, giving you an error message in wp-admin.

  6. arleuein
    Member
    Posted 3 years ago #

    All is alright yet, after the re-upload of the plugin.

  7. arleuein
    Member
    Posted 3 years ago #

    Moreover, the 1.3.30 version runs perfect.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic