Closed pa2codes closed 5 months ago
Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"
Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!
Closing this issue because it's inactive, already solved, old or not relevant anymore. Feel to open up a new issue if you're still experiencing this.
Pulse Version
1.2.3
Laravel Version
11.10.0
PHP Version
8.3.7
Livewire Version
3.5.0
Database Driver & Version
MySQL 8
Description
Hi there,
Using Volt Route I get the same error that was already discussed in https://github.com/laravel/pulse/issues/249.
The Laravel Pulse Slow Requests card throws:
htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given.
The issue seems my Volt Route
Volt::route('/mok-event-shop/{event}', 'pages.shop.event-shop')->name('event-shop-page');
but after some debugging I found that within the event-shop.blade.php file
<livewire:pages.shop.product-category-filter :event="$event"/>
and<livewire:pages.shop.product-list :event="$event"/>
seems to be the issue. if I remove them, no error is thrown. Both are Volt components. Here is my
event-shop.blade.php
The related Puls DB Table entry is
'["GET","\/mok-event-shop\/{event}",{}]'
I am not sure if its an issue with my code/setup or a bug.
I appreciate your help.
Thanks :)
Steps To Reproduce