Skip to content

N+1 problem #309

Closed
Closed
@usernotnull

Description

@usernotnull

I have Model::preventLazyLoading(app()->isLocal()); in my service provider to avoid n+1 issues.

When entering totem dashboard, I get

Attempted to lazy load [frequencies] on model [Studio\Totem\Task] but lazy loading is disabled. (View: /home/john/Sites/marvelcoding.com/vendor/studio/laravel-totem/resources/views/tasks/index.blade.php)

I can temporarily get around it by commenting out preventLazyLoading, but the solution is not optimal.

Is there a plan to resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions