Forum Replies Created
-
AuthorPosts
-
highprrrrParticipant
Ok.
Also, some of my users can edit the menu I’ve assigned them, but others cannot.
I see this error at the top of the Appearance > Menus page when logged in as the user:
Warning: Undefined array key 0 in /chroot/home/ac1a1d59/cc9753e302.nxcli.net/html/wp-admin/nav-menus.php on line 541 Warning: Attempt to read property “term_id” on null in /chroot/home/ac1a1d59/cc9753e302.nxcli.net/html/wp-admin/nav-menus.php on line 541
Perhaps it’s related to my original issue
highprrrrParticipantOk, so my custom script is what’s breaking this.
Here’s my script:
add_action( ‘admin_menu’, ‘register_my_page’ );
function register_my_page() {
add_menu_page( ‘Dept Pages’, ‘Dept Pages’, ”, ‘dept_pages_menu’, ”, ‘dashicons-arrow-right’ );}
I’m trying to organize all my custom post types into a menu called “Dept Pages”. This script does that, but when I have this script running, my permissions break.
highprrrrParticipantI think this might be caused by a custom script I have, I’ll look into it and update
highprrrrParticipanthere’s a video of my issue: https://watch.screencastify.com/v/jsgt1XXpI6v6yUsR3VpC
26/06/2022 at 13:16 in reply to: I have enabled all options for a CPT but my user cannot add a new one #7985highprrrrParticipantIf I enable “create_post” then it works but I don’t want them to be able to create regular blog posts, I ONLY want then to be able to create this CPT.
highprrrrParticipantok, I do need help. I’m sending credentials
highprrrrParticipantI just wiped the database and started over. Seems to be working ok now. If it happens again I’ll setup a staging site and come back.
highprrrrParticipantI just created a new menu called Econ, a new user called Econ with a new role called Econ, and it’s broken for that user as well.
The first one, Attorney, is the only user that’s able to view/edit the assigned menu. No other users can see or edit any menu
highprrrrParticipantIn fact, even if I go to All and enable every single capability, that user ‘landfill’ can do everything but can’t view/edit ANY menus
-
AuthorPosts