Reading wrong prefix wp_ vs wp_3_
-
Not sure how this happened, but using wp-optimize I can see that I have tables with 2 different prefixes (wp_ and wp_3_). My wp-config.php only has wp_ defined and I can’t find a wp_3_ defined anywhere when I grep. There are some things in each it seems. For example all cimy fields are in wp_3_ but the users are in wp_. There is no wp_3_users and the number of records in wp_users is correct for my site. I am using subdomain network and have 2 sites right now. I suspect that may be the cause of this but I’m no expert on the inner workings of wordpress’ db. I’m guessing that’s correct given that the plugin records for network activated plugins are in both prefixes and there are some plugins activated independently for each of the sites and those are in the respective prefixes. In this case I’m trying to use Dynamic User Directory for the site I created second in the network which appears to be the wp_3_. All the users though are stored as I mentioned in wp_users. When I turn on DUD debug it says I’m using wp_3_ which makes sense. Copied from the debug screen:
Users Table Name: wp_3_users
User Meta Table Name: wp_3_usermeta
So that would explain why it always says “There are no users in the directory at this time.”
Am I missing a setting to force this to the right prefix if my guesses about the problem are correct? Am I just off base?
Happy to help with additional debug info and assistance as needed. Looks like a promising plugin if I can get it to work.
Thanks!
The topic ‘Reading wrong prefix wp_ vs wp_3_’ is closed to new replies.