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

Model attribute not retrieved #96

Closed
Z3d0X opened this issue Nov 24, 2022 · 1 comment · Fixed by #183
Closed

Model attribute not retrieved #96

Z3d0X opened this issue Nov 24, 2022 · 1 comment · Fixed by #183

Comments

@Z3d0X
Copy link

Z3d0X commented Nov 24, 2022

When using

Model::preventAccessingMissingAttributes(! $this->app->isProduction())

Im getting an exception:

The attribute [origin_id] either does not exist or was not retrieved for model [Statamic\Eloquent\Entries\UuidEntryModel].

Flare Exception Url: https://flareapp.io/share/dmk4YYDP#F98

I understand this was added recently laravel/framework#44283

@ryanmitchell
Copy link
Contributor

It seems #183 will also resolve this issue as we'll always be getting all the data.

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