Editor role users can’t edit HTML Blocks with Elementor.
-
Hello,
Editor role users can’t edit HTML Blocks with Elementor. I get a dark screen with Error 500 message.
I have no problem with the Administrator role. I mean, I can use Elementor in HTML Blocks without problem with a Administrator user role.
Can you help?
Hello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
Let me know if you need access to my site.
Yes, please, disable all plugins temporarily and send us your admin access.
I created a sandbox for you. Once you fix this let me know how to reproduce in production site.
I attached credentials in the private area.
Steps to reproduce the issue:
1) Login with Editor user
2) Go to HTML Blocks: http://temp10.d523.dinaserver.com/wp-admin/edit.php?post_type=cms_block
3) Try to edit any Html block with Elementor
4) You will get this screen: CAPTURE
If I switch to other Theme the issue is gone. Therefore the issue is related to your theme.
All plugins are up to date.
All plugins are deactivated.
Yes, we see the problem. Please, send us your FTP access as well.
Hi,
FTP credentials attached. Once you fix this let me know how to reproduce in production site. Thanks.
Try to add the following PHP code snippet to the child theme functions.php file to fix this
add_filter(
'woodmart_html_block_access',
function() {
return 'editor';
}
);
Hi,
The snippet worked. Now the editor can edit the page.
But I have a problem which is that the administrator user can not edit the page.
If I remove the snippets I go back to the original issue: the Admin user role can edit but the editor user role can not.
Can you check it please? Can you make sure the new snippet will also work with the ‘shop_manager’ user role?
All credentials are still valid (wordpress users and FTP access).
Try to replace the previous code with the following one
add_filter(
'woodmart_html_block_access',
function() {
return 'edit_pages';
}
);
The topic ‘Editor role users can’t edit HTML Blocks with Elementor.’ is closed to new replies.