yungifez / skuul

A multi school management system
https://yungifez.github.io/skuul.org/
MIT License
325 stars 97 forks source link

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 closed 10 months ago

saddadnabbil commented 10 months ago

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 commented 10 months ago

I'll investigate this

Thank you for reporting this

saddadnabbil commented 10 months ago

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

yungifez commented 10 months ago

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