October 27, 2023 at 6:24 pm #13678
In the menu the shortcoder shows “tags” if clicked instead of the shorts-codes. The short-codes still exist but the page to edit them is no more showing.
When I go to the plugin overview and click on “View Shortcodes” next to the plugin I get a page with the content:
> You need a higher level of permission.
> Sorry, you are not allowed to edit posts in this post type.
The user is Adminstrator role so higher permission is not possible and prior to the update it worked.
Right now this breaks my page.October 28, 2023 at 3:17 am #13687
In Shortcoder v6.3 there is no change made related to this permission. It should behave the same as in 6.2.
I guess, there might some timeout behind the scenes while registering the shortcoder permissions for the administrator role.
Can you please install this plugin – https://wordpress.org/plugins/user-role-editor/ and check if “administrator” role has all the “xxx_shortcoder” permissions?
AakashOctober 28, 2023 at 10:14 pm #13690
The list shows no role named “administrator”. I would be anyway surprised by this since Administrator role should be a wordpress internal role which can’t be edited anyway, or not?October 28, 2023 at 10:17 pm #13691
I looked now at my own user under “All Users” and pressed “Capabilities”. There I see the primary role “Administrator” and filtering for “shortcoder” I see all checkboxes ticked albeit grayed out. So I would say all the permissions are there.October 28, 2023 at 10:20 pm #13693
This is strange. It seems that after clicking on this “Capabilities” link changed something although it is a read-only page. The permission error is no gone and the shortcoder page shows again. Maybe a bug inside wordpress not updating something properly and clicking “Capabilities” somehow triggered it.October 28, 2023 at 11:49 pm #13694
Yes it is a weird issue. This is not expected. Good that it is fixed now. Please do recall if any plugin was recently installed related to this to identify the root cause.
AakashOctober 29, 2023 at 2:04 am #13695
I had to restore the page from a backup. It has been the only plugin that failed even after deleting/reinstalling it multiple times.October 30, 2023 at 10:11 pm #13705
It is possible that restore from backup is the RC of the issue. May be the backup did not persist the administrator user permissions and the plugin assumed the permissions were already set.
I’m marking this thread resolved for now. Please reopen/start new if required.
- The topic ‘After update Shortcoder plugin is broken and unusable’ is closed to new replies.