Repository navigation
Replies: 1 comment
|
Hi @jsznap, A slightly shorter version, more natural: This looks more like a package issue than something you're doing wrong.
The error suggests `RendersBladeGuidelines` is passing an `Illuminate\Support\HtmlString` into `str_replace()`, but `str_replace()` only accepts a string or array.
So if this happens on a normal Laravel 12 install, I’d treat it as a Boost type-handling / compatibility issue rather than a setup problem.
I’d expect the package to cast the value to string before calling `str_replace()`, or explicitly handle `HtmlString`.
So yes, I think opening an issue on the Boost repo would be reasonable. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before I create a issue on the boost github, i'm wondering if it's something i'm doing wrong. When installing laravel boost on laravel 12, I am getting the below error:
" str_replace(): Argument #3 ($subject) must be of type array|string, Illuminate\Support\HtmlString given
at vendor/laravel/boost/src/Concerns/RendersBladeGuidelines.php:36"
All reactions