cant login (password is incorect) everytime i migrate to classicpress

Expected behavior

after migration, i should be able login to my site as usual without additional steps

Current behavior

everytime i migrate my wp to classicpress, i cant login, it always says password is incorrect.

Possible solution

i tried to change my password using phpmyadmin, but it doesnt work. the only solution is change password using wp-cli, it works eventough I use same username and password as before. but, thats not the main issue here.

Steps to reproduce

all my website is using cyberpanel, and I think maybe problem is theme or plugin. So, I make new website, kilat.my.id, with fresh install. I use these plugins and themes on kilat.my.id



but the issue remains the same

Context

My main issue is I want to move my other website. This website is news website with many editors. It is very hard if I must reset password one by one with WP-CLI.
I want to know what the problem is, and I hope I can migrate without having to reset passwords. Thank You

Welcome to ClassicPress. There should be no need to change password when migrating to ClassicPress.

But a thought has just struck me. WordPress just changed their login system for version 6.8, so I wonder if that’s the issue. But even if it is, once you’re on CP and have logged in once, that should fix the problem once and for all

Welcome to ClassicPress. There should be no need to change password when migrating to ClassicPress.

But a thought has just struck me. WordPress just changed their login system for version 6.8, so I wonder if that’s the issue. But even if it is, once you’re on CP and have logged in once, that should fix the problem once and for all

Welcome to ClassicPress. There should be no need to change password when migrating to ClassicPress.

But a thought has just struck me. WordPress just changed their login system for version 6.8, so I wonder if that’s the issue. But even if it is, once you’re on CP and have logged in once, that should fix the problem once and for all

Thank you,
I try reproduce the issue.
I switch back to WordPress, in WordPress i can log in like normal.
In WordPress, I make 5 users, user1 to user5. Then I migrate to ClassicPress.

In ClassicPress, the same problem comes back. I cannot log in.
Then I reset the password for user1 with WP-CLI, and then i can log in using user1.
I try to log in with user2 and the others, but I still cannot log in.
I can only log in if I reset the password with WP-CLI.

maybe the problem is solved if i reset one by one using wpcli, but i have so many user in my news site. i hope there is solution without reseting password.

I think @timkaye might be correct when he says the difference in login system might be it. I will try to reproduce this afternoon. If this is it I think we need to have a discussion on how to solve the issue for sites having many users.

We have now verified that it is indeed WP’s new login system that is the cause of this problem, and we are now testing a solution.

1 Like

Thank you. I’ll wait for the result

1 Like

This issue should be fixed with the following proposed code change:

1 Like

Thank you, it works now.
I installed WordPress 6.8.1 again and migrated to cp using the CP Migrate plugin.
At first, I could not log in.
So, I changed the pluggable.php file in the /wp-includes/ folder.
I downloaded the file from this link:

Now, all users can log in without problems.

1 Like

A plugin was added to ClassicPress Directory as a temporary fix for anybody having this issue.

2 Likes

Thank You, I have tried it. Make sure the plugin is downloaded and activated before moving to CP. Then, run the CP migration plugin as usual. After that, there will be no more login issues.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.