Meta box doesn't always retain selection
I’ve been restricting access on my various pages using the drop down meta box, and selecting “subscriber.” For most of the pages, it works perfectly, but on a couple random pages, I’ll select “subscriber” and click “update,” but after the update, the meta box shows “none.” I’ll try this 3 or 4 times, and on those specific pages it keeps reverting to “none.”
Any ideas on why this might be happening? Is using the short-code a preferred method over the meta box?
Sounds like it is probably a conflict with another plugin.
Could you try deactivating your other plugins and testing?
I’ve since upgraded to Restrict Content Pro, and am finding similar problems with the “Restrict this content” section. I’ve deactivated all plugins except for Jetpack and Restrict Content Pro, but it’s still happening on just a couple pages. I’ll check “paid only,” set the access level via dropdown, and then check the boxes of the subscription levels I want to give access to. Then I set user level to “subscriber” and click update, after which all of the check boxes go blank and the drop-downs revert to default status.
Is there somewhere in the database where these values are stored? I looked through every table, hoping I could set the triggers in phpMyAdmin, but didn’t find anything that seemed obviously corresponding to those subscription levels.
I’m a bit concerned because the 4 or 5 pages that won’t retain those protection settings then allow access in to the whole membership section if someone can find those pages.
Thanks in advance for your help!
Sorry, just realized my last point wasn’t fully accurate – the pages that do retain the protection remain protected … I guess I just coincidentally went from 1 page to another that both hadn’t retained protection.
I’m having the same problem with restrict content on media files. on pages I’m not noticing any problem but when trying to set user level to subscriber on the media page it doesn’t stick.
I realized my problem this morning – I had a previous install of WordPress for my membership section, and when I moved it to a new install of WordPress (when I added Restrict Content Pro), the posts from the first version transferred over as written by a “contributor” rather than “administrator,” even though I wrote them as administrator on the first version. So, once I changed that user back to administrator, then I could click and retain everything in the meta box.
Check to make sure the files were uploaded by a user listed as admin. Even though one would think that a current admin could control anything uploaded by a contributor, it didn’t seem to work that way, but switching to admin made it happen.
I’ve had additional reports of this and am looking into the problem now.
- The topic ‘Meta box doesn't always retain selection’ is closed to new replies.