bigcommerce / bigcommerce-for-wordpress

A headless commerce integration for WordPress, powered by BigCommerce
https://www.bigcommerce.com/wordpress/
GNU General Public License v2.0
109 stars 48 forks source link

[Critical Issues]404 Error occurs after login in WordPress multi-site environment #353

Closed WebcrazyDylan closed 2 years ago

WebcrazyDylan commented 2 years ago

Expected behavior

If you have an account called a@test.com that you signed up for at sub1.shop.com in a multi-site WordPress environment using sub domains, you should possible log in to the sub2.shop.com site using your a@test.com account and access all pages should be able to use

Actual behavior

If you log in to sub2.shop.com with the a@test.com account you signed up for on the sub1.shop.com site, 404 Error (Page not found) is spit out on all pages.

Steps to reproduce behavior

  1. Register as member to sub1.shop.com with a@test.com e-mail address.
  2. Log in to sub2.shop.com using the same a@test.com email address.
  3. The login was successful, but every page shows a 404 error .

Screenshot/Video (if applicable)

Workaround or possible solution

I posted the issue of being able to log in without a password in a multi-site environment before, and it seems that you try to fix this part by distributing a new version (4.27.1). Even though I couldn't find anything in the release notes. But unfortunately some code you added is not working properly. Rather you made a new error

WebcrazyDylan commented 2 years ago

It was discovered that the problem was caused by a conflict with the WPFront user role plugin.