Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Server error on Element overview pages #14505

Closed
WHITE-developer opened this issue Mar 1, 2024 · 10 comments
Closed

[5.x]: Server error on Element overview pages #14505

WHITE-developer opened this issue Mar 1, 2024 · 10 comments
Assignees
Labels

Comments

@WHITE-developer
Copy link

What happened?

Description

When viewing an element overview page, a server error occurs
craftcms/commerce#3395

Craft CMS version

5.0.0-beta.4

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

@i-just
Copy link
Contributor

i-just commented Mar 1, 2024

Hi, thanks for reaching out! I cannot replicate this issue on a clean Craft 5 + Commerce 5 installation. Do you have any plugins installed (apart from Craft Commerce)? If so, could you please list them? Any custom modules you’re using?

@i-just i-just self-assigned this Mar 1, 2024
@WHITE-developer
Copy link
Author

🤔 Disabled all installed plugins and removed the bootstrapping of my modules but now I can't even login
image

I see that the POST request for the login goes to localhost//index.php?p=admin/actions/users/login and do it's redirected to a GET request

Same as https://discord.com/channels/456442477667418113/456442477667418115/1213036176886210590

After downgrading to beta.3 everything works again, but when I upgrade again to beta.4 I can't login, or when I'm already logged in I get the erros on all overview pages

@WHITE-developer
Copy link
Author

I guess It has to do something with this 965c1a6#diff-7e5dfa5743abfcbe9b8e746535052dfe704e490f6b43510082246d1a3760e132R634

@i-just
Copy link
Contributor

i-just commented Mar 1, 2024

Thanks for more info! Yes, that’s my suspicion too. I’ll reply once I have more info.

@davidhellmann
Copy link
Contributor

I have the same issue on two installations.

image
image
image

brandonkelly added a commit that referenced this issue Mar 1, 2024
@brandonkelly
Copy link
Member

Just pushed a fix for that double-slash bug (localhost//index.php…). Can one of you pull that down and see if it resolves the issue for you? You can do that by changing your craftcms/cms requirement in composer.json to 5.0.x-dev as 5.0.0-beta.4 and running composer update.

@brandonkelly
Copy link
Member

brandonkelly commented Mar 1, 2024

(sorry, the fix didn’t push to the 5.0 branch successfully earlier, so if either of you have actually tried updating in the past 8 minutes, try again.)

@WHITE-developer
Copy link
Author

@brandonkelly Both the login as the element indexes are working again 👍

@brandonkelly
Copy link
Member

@WHITE-developer Sweet! Thanks for testing. We’ll get that released today.

@brandonkelly
Copy link
Member

5.0.0-beta.5 is out with that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants