We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey Ben! Thanks for this work!
I installed on a fresh new Laravel 11 app for the test drive, and all went smooth, enjoyed it a lot!
But then, I started it on a production app, and it's Laravel 10.
Errors I got after installing, in order:
ValidateCsrfToken
VerifyCsrfToken
Method Illuminate\View\ComponentAttributeBag::all does not exist.
all
Attempt to read property "createdAt" on string
resources / views / vendor / prezet / components / article.blade.php
@foreach ($articles as $article) @php $article = new \BenBjurstrom\Prezet\Data\FrontmatterData(json_decode($article, associative: true)); @endphp <li class="py-12"> <x-prezet::article :article="$article" /> </li> @endforeach
Install in Laravel 10, I think!
0.12.0
8.3.9
10.48.22
No response
The text was updated successfully, but these errors were encountered:
Thanks for the report. I would like to support Laravel 10 for now. Should have a fix for these issues up later today.
Sorry, something went wrong.
Glad I could help ❤️
Successfully merging a pull request may close this issue.
What happened?
Hey Ben! Thanks for this work!
I installed on a fresh new Laravel 11 app for the test drive, and all went smooth, enjoyed it a lot!
But then, I started it on a production app, and it's Laravel 10.
Errors I got after installing, in order:
ValidateCsrfToken
. L11 has that, L10 hasVerifyCsrfToken
Method Illuminate\View\ComponentAttributeBag::all does not exist.
. In L11, that object hasall
method, not in L10.Attempt to read property "createdAt" on string
inresources / views / vendor / prezet / components / article.blade.php
How to reproduce the bug
Install in Laravel 10, I think!
Package Version
0.12.0
PHP Version
8.3.9
Laravel Version
10.48.22
Which operating systems does with happen with?
No response
Notes
No response
The text was updated successfully, but these errors were encountered: