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

Saving a Viewfield config results in WSOD #18713

Open
omahane opened this issue Jul 23, 2024 · 0 comments
Open

Saving a Viewfield config results in WSOD #18713

omahane opened this issue Jul 23, 2024 · 0 comments
Labels
Defect Something isn't working (issue type) Needs refining Issue status

Comments

@omahane
Copy link
Contributor

omahane commented Jul 23, 2024

Describe the defect

When saving a Viewfield field settings, the result is a WSOD with the following message:

The website encountered an unexpected error. Try again later.

TypeError: uasort(): Argument #1 ($array) must be of type array, null given in uasort() (line 65 of core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php).

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://main-8ry6zt2asg946vdfuiryyamuc9gkuyzc.demo.cms.va.gov/admin/structure/types/manage/vamc_system_register_for_care/fields/node.vamc_system_register_for_care.field_non_clinical_services
  2. Click 'Save'
  3. Confirm the WSOD

AC / Expected behavior

The configuration should save without error.

Context

I have been working on an issue that involves a Viewfield and only began experiencing this issue today. I would guess that some change in the last 5 days or so is responsible.

@omahane omahane added Defect Something isn't working (issue type) Needs refining Issue status labels Jul 23, 2024
@omahane omahane changed the title Saving a viewfield config results in WSOD Saving a Viewfield config results in WSOD Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Something isn't working (issue type) Needs refining Issue status
Projects
None yet
Development

No branches or pull requests

1 participant