Skip to content

browser-logger-active Causing JSON Issues #49

@GLStephen

Description

@GLStephen

Laravel Package Version

latest

Laravel Version

12

PHP Version

8.4

Database Driver & Version

Mysql 8

Description

Laravel Boost tries to deliver the browser logger and results in this error in the console:

Uncaught (in promise) SyntaxError: Unexpected non-whitespace character after JSON at position 166555 (line 1 column 166556)

Which appears to be related to improper delivery of this:

<script id="browser-logger-active">

in /vendor/laravel/boost/src/Services/BrowserLogger.php.

Steps To Reproduce

Add boost in default config

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions