fbpx

Download GDPR Compliance WordPress Plugin in just $9 today.

Hi,

When this Plugin activated, Users other than Administrators not able to upload images. I am having a Custom Post Type with few Custom User Roles with proper Capabilities set. If I activate this Plugin, non-Admin Users cannot able to upload images (upload working fine once deactivated the Plugin) – getting ‘Sorry, you are not allowed to attach files to this post.’ error.

I already checked ‘Allow Contributors & Subscribers to upload avatars’ option but still upload not working for Custom User Roles.

This issue has been already reported by someone – https://www.flippercode.com/question/users-cant-upload-files-when-wp-user-avatar-acitivated/ & https://www.wcvendors.com/help/topic/error-in-uploading-image-not-allowed/.

Digging deep, this one from WordPress core file fails – ‘/wp-admin/includes/ajax-actions.php’ around line 2080.
if ( ! current_user_can( 'edit_post', $post_id ) ) {

Can you please able to look and resolve ASAP?

Thanks.

You do not have permission to view answers

Please login or Register to Submit Answer