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

Can't access role teacher and student - ERROR Livewire encountered a missing root tag when trying to render a component. When rendering a Blade view, make sure it contains a root HTML tag. #363

Closed
saddadnabbil opened this issue Nov 23, 2023 · 3 comments

Comments

@saddadnabbil
Copy link

saddadnabbil commented Nov 23, 2023

image
when i login as super admin and admin it's working, but when i login as teacher and student it's showing error

User
Found the following N+1 queries in this request:

Model: App\Models\School => Relation: App\Models\ClassGroup - You should add "with('App\Models\MyClass')" to eager-load this relation.
Model: App\Models\School => Relation: myClasses - You should add "with('myClasses')" to eager-load this relation.
Model: App\Models\MyClass => Relation: App\Models\Subject - You should add "with('App\Models\Subject')" to eager-load this relation.
Model: App\Models\MyClass => Relation: App\Models\Section - You should add "with('App\Models\Section')" to eager-load this relation.
@yungifez
Copy link
Owner

yungifez commented Nov 23, 2023

I'll investigate this

Thank you for reporting this

@saddadnabbil
Copy link
Author

thank you! please inform to me if it's done

yungifez added a commit that referenced this issue Nov 23, 2023
@yungifez
Copy link
Owner

This issue has been fixed in v2.6.2

If you followed the git tag installation method, updating is as simple as runningphp artisan skuul:update

If not, just git pull

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

No branches or pull requests

2 participants