Any possible view previous deleted users details in wordpress or restore previews users. Any plugin or any other idea. I have no DB backup.
Related
https://wordpress.org/plugins/user-role-editor/ This plugin I installed
how to revert back I disable the plugin but still, I can't access woo-commerce admin access
it only shows me the order and coupon menu.
how to fixed this, please help
i think you have not given shop manager rights to admin user so this is happening
/* solution */
you again activate above plugin and Grant role from that selected admin user
you can check screenshot given in user-role-editor plugin also
So I fixed the issue from the office plugin documents https://www.role-editor.com/how-to-restore-deleted-wordpress-user-roles/
3rd variant – User Role Editor creates roles backup record before save the very 1st update to them. You need to use SQL tool like phpMyAdmin. Find that record at ‘wp_options’ meta database table:
SELECT * FROM wp_options WHERE option_name='wp_backup_user_roles';
As the result you will see something like this (I use MySQL Workbench):
User Roles Auto Backup
User Roles Auto Backup
Take data from the option_value field and place them into the record where WordPress stores user roles originally. You may find it with this SQL query:
SELECT * FROM wp_options WHERE option_name='wp_user_roles';
Read this post for more details about changing WordPress user roles directly in the database using SQL commands.
So, I have an admin user on Wordpress, I can login, I can post, update, install plugins, etc.
But when I try to find my user name, or email on the database wordpress is using (in wp-config file), I'm not able to locate it. and mine is not the only user I'm not able to find in the database.
Now,I got to this discovery, because our wordpress site was hacked not long ago, I'm going through the files, and I see some random code on the top of index.php or other files.
I clean and get rid of this code, and files too ! ( aindex.php, ajax-index.php. etc.)
At some point in the middle of the night, some files is creating this files, and inserting this random code again. SO I need to do this everyday in the morning, otherwise the wordpress admin doesn't work. Any insight on this too, will be very appreciate it.
Anyway, it is possible that whoever hacked the site, is making wordpress to store new users on an external database ?
Thanks, any help will be appreciate it.
Note I'm using: Wordfence, WP security, Cerber Security, Defender, iThemes Security to help scan the files.
In relation to your first point, users are not stored in wp-config.php. They are stored in the database - you can access the database via your domain.com/phpmyadmin (depending on the database manager you're using).
Within the database tables you will find wp_users and wp_usermeta where the information you are looking for will be stored.
You can have a look at this page for some more information.
We are running into the same problem for the third time already. Suddenly all the users, including admins, lose their access to wp-admin, plus some custom user fields get erased.
When I look into the database, it looks like user roles are not changed (admin is still admin). So why I can't access the backend is not clear.
Every time we recover from the backup, but it becomes a regular problem.
I can't figure out if it's a WordPress, a plugin, a hosting issue or we get hacked every time it happens. The problem is that the logs on the hosting stopped being recorded on the 4th of October (we'll be changing hosting as it's the second time I see the logs not recorded).
For the guest users the site is working fine.
My question is: where to look for the source of the problem?
Thank you in advance.
Regularly update your wordpress and plugins. I read somewhere wordpress contaminates sites if not updated regularly. So whenever you see an update for a plugin or core files do not forget to hit that.
A friend asked me to help him with a similar problem ... somehow a part of the usermeta table was lost yesterday and today. This is a list of the plugins that he's using ... maybe there's a match somewhere:
Akismet anti-spam
Autoptimize
Cherry Data Importer
Cherry Data Importer
Cherry PopUps
Cherry Search
Cherry Sidebars
Cherry Socialize
Cookie Notice
Duplicate Page
Editor clasic
Contact Form 7
Google Analytics for WordPress by MonsterInsights
Mashshare Share Buttons
Mobile Menu
Post Types Order
Post Views Counter
Q2W3 Post Order
SSL Insecure Content Fixer
WordPress Social Login
Yoast SEO
Thankfully we have a backup and were able to restore the usermeta data, but since it happened twice by now, the problem persists :(
WP and all plugins are updated.
How does one completely remove a plugin from WordPress?
I have deleted the plugin via WordPress admin and then reinstalled, problem persists.
I see 8 records in cmsoptions table referencing the offending plugin. Since WP Admin drags to a grinding crawl with the plugin active, and for weeks the plugin was working just fine, I have to conclude that the problem exists due to the plugin references in the DB.
If anyone has the inside word on completely obliterating a plugin from WP, please do share.
The the options API (http://codex.wordpress.org/Options_API) is open to the plugin to store whatever data it wishes (under whatever name it wishes). You'd have to search the plugin code to see what it is storing (and how) in order to get rid of the offending data.
The issue isn't with WordPress, it's with the plugin. WordPress is a framework and can't take responsibility for whatever gets built on top of it (ie plugins). It's like blaming a hammer for a poorly built house.
New to Wordpress.
I am aware the default database to Wordpress is MySQL.
Like livejournal, i have a small requirement which allows Admin to post content and registered users on the website are allowed to post contents.
I decided to go with Wordpress, but still have not done much research on allowing registered users to post contents as like admin.
I am wondering, What database would be the best to go with ?
SQL or MySQL ?
Also, whether these contents are stored in the Database or in the form of .doc ?
The database you use doesn't matter as long as Wordpress supports it.
Comment functionality is built into Wordpress. You don't need to do any custom development to make it happen. If you only want registered users to be able to comment, you'll have to make a setting requiring users to be registered and logged in to comment. This setting is under Settings - Discussion. Comments are stored in the database.
Those are a few questions in one, so I'll answer each one of its own and paraphrase:
Can Wordpress use some other database than MySQL?
No, Wordpress only supports MySQL, so there is no choice.
Are the posts or pages/content in Wordpress stored in a database or in a .doc file
The contents of posts in Wordpress, just like in liveJournal, are actually stored in a database.
Is it possible to allow users in Wordpress to submit content that an admin can then review and publish/delete later etc.
Yes. Very much so. I believe it's built into Wordpress, you just need to have a registered user and enable the feature.