Emmanuel Ingelaere
Emmanuel Ingelaere's Comments
-
-
All problems solved!
After commenting out Model::shouldBeStrict(); in my project, the lazyloading error dissapeared.
The control panel problem was actually an accidental space in the dutch translation file key. I filed a pull request for that and hope I did that the right way, as I'm taking my first steps in the contribution world.
-
Any ideas?
-
Now the control panel is also not accessible anymore, the forum is using the dutch language:
Expected token: "=" somewhere in "channel- slug-url-label = Dit kanaal is toegankelijk op:
". {"view":{"view":"site/vendor/waterhole/core/resources/views/cp/dashboard.blade.php","data":{"errors":"<pre class=sf-dump id=sf-dump-849146141 data-indent-pad=\" \"><span class=sf-dump-note>Illuminate\Support\ViewErrorBag</span> {<a class=sf-dump-ref>#6958</a><samp data-depth=1 class=sf-dump-expanded>
#<span class=sf-dump-protected title=\"Protected property\">bags</span>: []
</samp>}
</pre><script>Sfdump(\"sf-dump-849146141\", {\"maxDepth\":3,\"maxStringLength\":160})</script>
"}},"userId":6,"exception":"[object] (Spatie\LaravelIgnition\Exceptions\ViewException(code: 0): Expected token: \"=\" somewhere in \"channel- slug-url-label = Dit kanaal is toegankelijk op:
\". at site/vendor/jrmajor/fluent/src/Parser/FluentParser.php:64)
[stacktrace]
#0 site/vendor/waterhole/core/src/Translation/FluentTranslator.php(134): Major\Fluent\Parser\FluentParser->parse('...')
#1 site/vendor/waterhole/core/src/Translation/FluentTranslator.php(142): Waterhole\Translation\FluentTranslator->Waterhole\Translation\{closure}()
#2 site/vendor/waterhole/core/src/Translation/FluentTranslator.php(179): Waterhole\Translation\FluentTranslator->loadPath('...', '...', '...')
#3 site/vendor/waterhole/core/src/Translation/FluentTranslator.php(117): Waterhole\Translation\FluentTranslator->loadNamespaced('...', '...', '...')
#4 site/vendor/waterhole/core/src/Translation/FluentTranslator.php(108): Waterhole\Translation\FluentTranslator->loadFtl('...', '...', '...')
#5 site/vendor/waterhole/core/src/Translation/FluentTranslator.php(83): Waterhole\Translation\FluentTranslator->getBundle('...', '...', '...')
#6 site/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(923): Waterhole\Translation\FluentTranslator->get('...', Array, '...')
#7 site/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(958): trans('...', Array, NULL)
#8 site/vendor/waterhole/core/resources/views/cp/dashboard.blade.php(1): __('...')
#9 site/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('...')
#10 site/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() -
- Support
- bug in user model type?
Answer Nope! Not a bug! I forgot to add the necessary classes to my user model:
AuthenticatesWaterhole & HasWaterholeUser
Problem solved...
Thanks for the fast reply an committing the fix! Looking forward to further contributing where possible.