0

I updating my WordPress to latest version. I replaced wp-login.php and user.php from 3.7.16 version. Now I am getting Fatal error: Cannot redeclare class WP_User_Query in /home/spslive/public_html/wp-includes/class-wp-user-query.php on line 17.

Can anyone give me the solution ?

0

You can not just copy the whole file and replace. you have to see the changes and change those code only. Revert back to the old file.. will solve the problem for now.

  • Thanks @Hemel for your reply. I replaced those files due to another error. Thanks – abu abu Nov 9 '16 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.