• Resolved FriendlyWP

    (@mmcginnis)


    I am logged in as an Administrator, but get this message every time I try to Publish or Save a new post (in a custom post type):

    Publishing failed. Sorry, you are not allowed to edit the _members_access_role custom field.

    This only started happening after the most recent update, before then it was working fine.

Viewing 12 replies - 1 through 12 (of 12 total)
  • I also have this problem. Custom post type, saving a post.

    It seems that some elements *are* saved, however, but at least some changes to custom fields are not.

    Same problem for me after update. Classic editor works fine. Block editor returns error.

    Plugin Author cartpauj

    (@cartpauj)

    Thank you for the reports.

    Fix is in and awaiting review. If one of you wants to try the fix manually, you can remove the three lines which were deleted in admin/class-content-permissions-editor.php

    Patch: https://github.com/caseproof/members/pull/239/changes

    Thanks @cartpauj tested on dev environment and no error. Post published successfully using block editor.

    is 3.2.22 download available for roll back until fix is available? Thanks

    Plugin Support Hesham Gaber

    (@heshamgaber)

    @worksdigital yes, they can roll back to 3.2.22 until the fix is available. Any previous version is available from the plugin’s advanced view: https://wordpress.org/plugins/members/advanced/ (select it from the Previous Versions dropdown).

    Direct download for 3.2.22: https://downloads.wordpress.org/plugin/members.3.2.22.zip

    Thanks, tried the rollback but the content fields were empty and the edit areas were inactive. Guess I will need to wait for the new fix, any timescale on this?

    Thanks

    @cartpauj – I read the new release, 3.2.24:
    Fixed: Content Permissions could not be saved via the REST API (block editor, Elementor, and other page builders) in 3.2.23, failing with “Sorry, you are not allowed to edit the _members_access_role custom field.” The meta auth callback wrongly honored WordPress’ default deny for protected meta keys, blocking every user including administrators.

    I updated this on the site and it does in fact fix it for Administrators.

    But I have a site with a custom user role & permissions (based off an editor role, but further customized), trying to save a CPT entry with Gutenberg and ACF Pro fields.

    While logged in as that custom user role, we still get that error – “Updating failed. Sorry, you are not allowed to edit the _members_access_role custom field.”, while 2 other things occur:

    1. The entry is updated
    2. But the ACF fields are not updated
    Plugin Support Hesham Gaber

    (@heshamgaber)

    @worksdigital Version 3.2.24 has been released.

    Plugin Support Hesham Gaber

    (@heshamgaber)

    Thanks for reporting this, @nauran81!

    We’ve got a hotfix for this in version 3.2.25. It’s currently awaiting approval and will be released shortly: https://github.com/caseproof/members/pull/241

    Thanks!

    Thanks @heshamgaber!

    I have already downloaded x.25 and updated it and seems to have resolved the issue I outlined above.

    Thanks for the quick response & fix.

    If the client encounters other issues, I will follow up.

    Plugin Support Hesham Gaber

    (@heshamgaber)

    You’re welcome, @nauran81!

Viewing 12 replies - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.