icecode
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Point multiple subdomains to one network siteThank you for your response.
These domains are just an example. The actual domains make it confusing for some customers that speak different languages and are from different countries that speak the same language. Basically what I’m trying to achieve here will help in regards to marketing.
Forum: Plugins
In reply to: [Custom Post Type UI] CPT UI not showing in ELEMENTOR POST TYPESame issue over here. “page” and “404” only show as options.
The issue was in the user permissions field in the database table for that specific site. All the user permissions were completely removed. All that was left behind was something like this: “a:10:{s}”
I suspect a plugin did this but not sure which one.
Possible candidates:
Yoast
Facebook
BackupPuppy
Elementor
Google ReviewsSo I went into another site’s table that was working fine and copied the permissions over from the Options Table in the
option_namewpadm_XX_user_roles
field under the
options_value:
to the site with the issue.
I wasn’t able to find the default permissions online so this worked fine.
Hi Aristeidis,
I had a look over that link before I posted here but it doesn’t seem to be in line with my issue.
If you go into the Options table for the site with the issues, look for wp_x_user_roles, where “x” is the site ID number – in my case 2. “wp_” should be replaced with the correct prefix (check the options table on one of the working sites to compare). Simply rename the option with the correct prefix and you should be good to go. I changed mine to prefix_2_user_roles and now it works.
While you’re at it, check the main usermeta table – if you see wp_2_capabilites, again it should be prefix_2_capabilities.
This mentions multiple tables for each site ID but even though I have 10 sites, there is only one options table. 2/10 sites are not working.