Stimulsoft Reports.PHP latest version 2023.3 does not work with LaravelDebugbar

Stimulsoft Reports.PHP discussion
Post Reply
nexpro
Posts: 1
Joined: Thu Jul 27, 2023 4:29 pm

Stimulsoft Reports.PHP latest version 2023.3 does not work with LaravelDebugbar

Post by nexpro »

Stimulsoft Reports.PHP latest version 2023.3 for Laravel Version 9.52 does not work with the widely used Laravel debugbar "barryvdh/laravel-debugbar": "^3.8.1",

Then there is a javascript error.

Uncaught SyntaxError: missing } after property list
stimulsoft.reports.js:12:161506note: { opened at line 12, column 161379stimulsoft.reports.js:12:161379
18:26:04.012 Uncaught SyntaxError: expected expression, got '<'
stimulsoft.viewer.js:11:288563
18:26:04.013
Uncaught ReferenceError: Stimulsoft is not defined
<anonymous> https://xxxxxx.dev/viewer:118
viewer:118:13
18:26:04.074
GET
https://xxxxxx.dev/favicon.ico
[HTTP/1.1 200 OK 0ms]

18:26:04.090
Uncaught ReferenceError: Stimulsoft is not defined
onLoad https://xxxxxx.dev/viewer:124
onload https://xxxxxx.dev/viewer:1


Please fix the error
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Stimulsoft Reports.PHP latest version 2023.3 does not work with LaravelDebugbar

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#12051
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Stimulsoft Reports.PHP latest version 2023.3 does not work with LaravelDebugbar

Post by Lech Kulikowski »

Hello,

We have analyzed the situation and have not found a universal solution. The problem occurs because Laraver Debugbar includes its code in any request, including all static scripts. This makes them incorrect for the browser.

The only solution you can try is to set an option in the debugbar.php file:
'inject' => false,

and try rendering for debugbar using the functions suggested in the documentation:
http://phpdebugbar.com/docs/rendering.html

Thank you.
Post Reply