I fixed this by running this command:
cd /var/www/html/
sudo chown -Rv www-data:www-data *
Changed ownership back to www-data instead of root. This article helped me:
Related Posts:
- Basic auth WordPress REST API dilemma
- Any reason to be concerned by a wave of “zombie” blog signups?
- How to change WordPress user ID?
- WordPress keeps asking for connection information in localhost
- Setting WP Admin passwords to expire
- What do spammers gain by signing up as a user?
- How can I secure a WordPress blog using OpenID from a single provider?
- Force user to change their password on the frontend at the first login and password policy
- Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?
- Are there mutiple ways to get usernames (as a hacker)
- Reset Password policy
- How do I protect user_activation_key?
- Failed login attempts
- Separate Out Real Users
- WordPress Password security related questions
- Preventing user enumeration: which logic is better?
- Force users to use password with specifications
- Iterating users while user iteration is suppressed
- Require confirmation of current user’s email before updating database and before send_email_change_email
- Folder Permissions + Security Concerns
- Securely log in a user without a password using a link?
- What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker
- WordPress – Security Question at Login from User’s Meta Data
- user_login vs. user_nicename
- WordPress usermeta scaling for thousands of users
- How to restrict access to uploaded files?
- Execute a function when admin changes the user role
- Why are user address fields required [closed]
- Importing users? From another wordpress site
- How to discover and delete unused accounts?
- Remove all users from site except one using WP CLI
- Copy a user from one WordPress site to another
- Count user posts by type and date
- Assigning tags to user?
- Get user info outside WordPress
- Total number of authors with more than one post
- WordPress has a trash for users? (Wrong result for count_user, greater than expected)
- Is there a simple way to manage capabilities per user?
- Check for user meta data at Login
- Buddypress – Send New User Activation Link to Admin [closed]
- Redirect after users complete profile form
- How to get current user’s phone number
- Front End Registration Form Code – Password Field Not Saving
- How can I verify users facebook ID that he provides during signup process
- How do I customize the dashboard?
- How would I hook into `clear_auth_cookie` to return the user’s ID that’s currently being logged out?
- How to disable a specific page for a specific user
- How to change textarea rows height for user’s biographical Info?
- New users not showing up in Post -> Edit
- How can i change the name order in the admin?
- WP_User_Query by meta_value with Number returns nothing
- How to add user from front end
- I am getting mysql_real_escape_string() function error while adding user?
- Preventing auto-filling of e-mail addresses on profile.php
- Prevent subscribers to changing certain profile fields
- New user form rejected because “passwords don’t match”—but there’s only one password field
- Unable to change email address of admin on localhost
- How can I prevent certain custom roles from seeing other custom roles on the user list page?
- Creating User Profiles using author.php
- “the_author_meta(‘url’)” not working inside “href”
- REST API: wp_get_current_user not working on second call
- How to let the users edit their user names?
- How do I filter users based on email address?
- What’s the correct way to add capabilites to user roles?
- Web app vs CMS backend
- User roles not displaying
- Should I setup frontend-only users as CPT or use a plug-in?
- How to expire user registration?
- Echo a list of all subscriber’s user IDs
- user login and its profile
- wp_delete_user – huge overhead in Buddypress?
- Delete all users with Editor role and their content mysql
- Send user auto generated password on different email
- Load Custom Field to User Profile as per User Role using Ajax
- Show posts who published after registration date
- How to hide “Change role to” dropdown on Users admin menu
- How to show different pages for different users
- How can i display pagination in custom comment list?
- hide page menu from admin panel for specific users
- Single Sign On (SSO) between two WordPress websites
- Redirect /member/ to /member/user
- get user id in a plugin without a function
- WP_User object behaving strangely when used inside Admin Panel?
- REST_query_vars for users
- How to use a transient inside WP_User_Query
- Allowing users to edit only their page and nobody else’s
- How to bulk change user role to “No role for this site”
- Showing extra profile fields in admin – problem with underscore
- Add an ‘edit profile’ page with Genesis
- Exclude Current user email and send notification
- Disallow user registration/checkout via Hotmail/Yahoo
- User management missing after migration to new host
- Add new user and user bio at same time
- Validate user meta and redirect
- Let admin users edit member profiles from front end
- New User Registration email
- How to add a security group to a running EC2 Instance?
- What is the difference between /sbin/nologin and /bin/false?
- Sorting Users page admin column with ACF field
- Can we get user profile page using user_id in the URL?