Questions tagged [phpdebugbar]

The DebugBar integrates easily in any projects and can display profiling data from any part of your application. It comes built-in with data collectors for standard PHP features and popular projects.

enter image description here

35 questions
6
votes
2 answers

Prestashop 1.7 debug bar

How to have the debug bar on all the website ? In the administration side I activate the debug mode, but the Symfony debug-bar is visible only in the "modules" part. Is it possible to display it on all the website like the transport section?
n44s
  • 443
  • 4
  • 18
5
votes
1 answer

Laravel Lumen 5.7, debugbar throw Call to a member function listen on null

I'm trying to use the debugbar with lumen and jenssegers/laravel-mongodb , it wasn't showing the database queries so I enabled. \DB::connection('mongodb')->enableQueryLog(); But now it shows this error. `Call to a member function listen() on…
MZH
  • 1,414
  • 4
  • 29
  • 57
5
votes
8 answers

barryvdh/laravel-debugbar does not appear in laravel

Please let me assert: This question is not a duplicate of this, In Laravel 5 I am trying to install barryvdh/laravel-debugbar. but it is not showing. I did the following: Installation: composer require barryvdh/laravel-debugbar Added the following…
Ramesh Pareek
  • 1,601
  • 3
  • 30
  • 55
3
votes
0 answers

Laravel debug bar session message not displayed

Output message works fine but debugbar session doesn't have them if (empty($item)) { return back() ->withErrors(['msg' => "post id => {$id} not found"]) ->withInput(); } debugbar laravel 5.8 debugbar 7.3.1
3
votes
1 answer

Tracing each function calls in PHP

I am trying to create a tracer log in my PHP application. Turning on the debug mode will start to track the flow of the function. Below is what I am expecting as my implementation: function callA(x) { ... } //XYZ.php function callB() { ... callA(1)…
Veer Shrivastav
  • 5,434
  • 11
  • 53
  • 83
2
votes
2 answers

Laravel Debugbar Not Showing

I have a project with Laravel version 7.28. I run composer require barryvdh/laravel-debugbar --dev, After that I added Barryvdh\Debugbar\ServiceProvider::class to app/config.php under providers and added 'Debugbar' =>…
jigsaw075
  • 155
  • 2
  • 16
2
votes
1 answer

Laravel Debugbar Affecting Excel Download

So I installed Laravel Debugbar today in an attempt to make my local dev a better experience, and for the most part, it has. An issue has arisen though when I try to download an Excel generated from PhpOffice\PhpSpreadsheet…
Tim Lewis
  • 27,813
  • 13
  • 73
  • 102
2
votes
1 answer

Using laravel debugbar on lumen

I'm using Lumen 5.7 and Laravel Debugbar 3.2 I made the necessary changes to these files, as specified in the manual: bootstrap/app.php: $app->configure('debugbar'); if (env('APP_DEBUG')) { …
Andi Siswanto
  • 59
  • 1
  • 1
  • 10
2
votes
0 answers

Issue with Laravel debugbar 1.8.*

I am facing an issue with laravel debugbar version 1.8.* with laravel 4.2, following are the screenshots for error. Its working on the back-end but getting this weird JS error.
Muhammad Raza
  • 424
  • 5
  • 22
1
vote
1 answer

Interesting Question here - Why Tomorrow Date PHP and +1 Days Gives Different Time

Hello PHP DEV, I Want to know why this strange thing is happening! Example : strtotime("+1 days") returns time as UTC TIME which is current Time so why strtotime('tomorrow') returns time as 00:00:00. I noticed this show wants to know the official…
1
vote
3 answers

Zend Service Manager - Service not found exception when trying to use phpdebugbar

I'm trying to use https://github.com/php-middleware/phpdebugbar in a clean Zend Expressive Skeleton application. I know the instructions on this page suggest using this DI configuration (if using…
d.lanza38
  • 2,525
  • 7
  • 30
  • 52
1
vote
0 answers

PHP: Load page with default language as browser language even after clearing of cookies and history

I am using an array for supported languages as mentioned below: $langs = array(); $langs[13] = array('zh','Chinese (Simplified) / 中文 (简体)'); $langs[2] = array('en','English (USA / International)'); $langs[4] = array('fr','French /…
1
vote
1 answer

Laravel Debugger showing duplicated queries

Does any one has an idea about this. I don't know why it is showing duplicated queries. I searched a lot, found one answer on stackoverflow, but didn't get proper answer. If anyone faced the same error then please let me know. Thank you protected…
Siddharth
  • 1,649
  • 4
  • 22
  • 47
1
vote
3 answers

How to add PHP DebugBar to Twig layout?

PHP DegugBar has an extension to display which Twig templates were rendered. I found a demo here but if you look at how they do it, they actually render the layout in pure PHP which kind of defeats the point of Twig, which has its own layouting…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
1
vote
1 answer

Laravel 5.1 debugbar not showing in virtual host

I installed fresh laravel 5.1 Added Debugbar from this https://github.com/barryvdh/laravel-debugbar Its working fine in localhost/laravel/public but not working in virtual host like http://laravel.dev Please help
Vimal Mistry
  • 352
  • 2
  • 17
1
2 3