Skip to content

Conversation

@aerni
Copy link
Contributor

@aerni aerni commented Jan 19, 2026

I've encountered a scenario where $resolved is null. Resulting in Call to a member function value() on null. This can happen when $value->value() in resolveGqlValue() is null.

$value = $this->augmentedValue($field);
if ($value instanceof Value) {
$value = $value->value();
}

@jasonvarga jasonvarga merged commit ae5d67a into statamic:5.x Jan 19, 2026
27 checks passed
@aerni aerni deleted the fix/has-select-options branch January 19, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants