Unable to locate a class or view for component [filament-fabricator.layouts.Main]

Hello, I am using Fabricator package with Filament V2 and it works really great on my local, I get this error on production server on the created pages and dashboard works fine. I am using MainLayout as the main layout for the page. Please let me know how do I fix this? Thank you
8 Replies
mohdaftab
mohdaftabOP17mo ago
This is the error I get
toeknee
toeknee17mo ago
You casing is incorrect, @awcodes would be best to advise. But you need to ensure to use lower case on the layout casing if you have a case senstive system.
mohdaftab
mohdaftabOP17mo ago
mohdaftab
mohdaftabOP17mo ago
Thank you let me try that
toeknee
toeknee17mo ago
$name = 'main;
mohdaftab
mohdaftabOP17mo ago
I tried $name = 'main' Filament Fabricator: Layout "Main" not found
awcodes
awcodes17mo ago
ask in #fabricator the plugin dev might not see your question here.
mohdaftab
mohdaftabOP17mo ago
Ok, thank you so muhc. Thank you so much, the issue was as you mentioned "incorrect casing" I changed the blade filename to Main.blade.php and it worked
Want results from more Discord servers?
Add your server