Change WordPress user roles and capabilities Forums Bug Reports URL causing HTTP ERROR 500

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4589
    FreshySites
    Participant

    Users > User Role Editor

    Goes to:

    https://example.com/wp-admin/users.php?page=users-user-role-editor-pro.php

    And causes an HTTP Error 500. If I remove the .php from the URL it works fine.

    Not sure if this server error is related: https://gyazo.com/782a3917e782f45c9d53f9795a997824

    Using Divi theme with latest version of theme and your plugin.

    #4594
    Vladimir
    Keymaster

    Hi,

    Try to temporally switch Off this option “Force custom post types to use their own capabilities” at the “Settings->User Role Editor” and re-test “Users->User Role Editor”. If it will help, then the error from screenshot is related. This fatal PHP error requires a fix any way though.

    What version of Divi do you use? I tested URE Pro with 3.0.98.

    #4601
    FreshySites
    Participant

    I am using the latest version of your Pro plugin, and of Divi: 3.0.100

    As you mentioned, I went to Settings > User Role Editor, and turned off “Force custom post types to use their own capabilities”.

    This fixed the error.

    However, I really need that option. Unless you could supply a method to implement it via a function.

    I really only need that option for one of the roles, and for one post type.

    I have a custom role that, when logged in to wp-admin, only has capability to:

    1. read
    2. create_polls
    3. publish_polls
    4. read_private_polls
    5. delete_polls
    6. edit_polls
    7. delete_private_polls
    8. delete_published_polls
    9. edit_private_polls
    10. edit_published_polls
    #4602
    Vladimir
    Keymaster

    You can modify user-role-editor-pro/pro/includes/classes/post-types-own-caps.php file, comment line #49, it will be looked like:

    
    // $this->divi_post_type_load();
    

    I will work on a fix for the next update.

    #4603
    FreshySites
    Participant

    Sure thing. I’ve commented out that line for now, and look forward to the next update. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.