How can I install debugbar in Laravel?
( ! ) Fatal error: Cannot redeclare measure() (previously declared in C:wamp64wwwacellemailllvendorbarryvdhlaravel-debugbarsrchelpers.php:77) in C:wamp64wwwacellemailllappHelpershelpers.php on line 427
laravel debugging laravel-5.2 laravel-5.3 xdebug
|
show 1 more comment
( ! ) Fatal error: Cannot redeclare measure() (previously declared in C:wamp64wwwacellemailllvendorbarryvdhlaravel-debugbarsrchelpers.php:77) in C:wamp64wwwacellemailllappHelpershelpers.php on line 427
laravel debugging laravel-5.2 laravel-5.3 xdebug
Please describe why installing "debugbar" will resolve your issue? Accordingly to the error message you have it installed already. github.com/barryvdh/laravel-debugbar
– LazyOne
Apr 15 '18 at 9:14
After i install the debugbar it shows that message and the project doesn't run anymore; what i meant is how can i install it without this error
– yahya boudahra
Apr 16 '18 at 8:55
The error is in YOUR code (...acellemailllappHelpershelpers.php
file). You are re-declaring the global function namedmeasure()
that is already defined by Laravel Debugbar package. You cannot do that -- it's basic PHP knowledge. Give your function another name... or get rid of Laravel Debugbar package so it does not introduce that function in first place.
– LazyOne
Apr 16 '18 at 9:39
i changed the function name in my code and it still doesn't show the bar of debug
– yahya boudahra
Apr 16 '18 at 11:03
"...it still doesn't show the bar of debug" -- so it must be some another issue. E.g. did you added that package ServiceProvider into appropriate place? Auto-discovery is available since Laravel 5.5; before that they should be added manually. Follow the instructions.
– LazyOne
Apr 16 '18 at 11:25
|
show 1 more comment
( ! ) Fatal error: Cannot redeclare measure() (previously declared in C:wamp64wwwacellemailllvendorbarryvdhlaravel-debugbarsrchelpers.php:77) in C:wamp64wwwacellemailllappHelpershelpers.php on line 427
laravel debugging laravel-5.2 laravel-5.3 xdebug
( ! ) Fatal error: Cannot redeclare measure() (previously declared in C:wamp64wwwacellemailllvendorbarryvdhlaravel-debugbarsrchelpers.php:77) in C:wamp64wwwacellemailllappHelpershelpers.php on line 427
laravel debugging laravel-5.2 laravel-5.3 xdebug
laravel debugging laravel-5.2 laravel-5.3 xdebug
edited Apr 15 '18 at 9:12
LazyOne
109k21242265
109k21242265
asked Apr 14 '18 at 17:49
yahya boudahrayahya boudahra
15
15
Please describe why installing "debugbar" will resolve your issue? Accordingly to the error message you have it installed already. github.com/barryvdh/laravel-debugbar
– LazyOne
Apr 15 '18 at 9:14
After i install the debugbar it shows that message and the project doesn't run anymore; what i meant is how can i install it without this error
– yahya boudahra
Apr 16 '18 at 8:55
The error is in YOUR code (...acellemailllappHelpershelpers.php
file). You are re-declaring the global function namedmeasure()
that is already defined by Laravel Debugbar package. You cannot do that -- it's basic PHP knowledge. Give your function another name... or get rid of Laravel Debugbar package so it does not introduce that function in first place.
– LazyOne
Apr 16 '18 at 9:39
i changed the function name in my code and it still doesn't show the bar of debug
– yahya boudahra
Apr 16 '18 at 11:03
"...it still doesn't show the bar of debug" -- so it must be some another issue. E.g. did you added that package ServiceProvider into appropriate place? Auto-discovery is available since Laravel 5.5; before that they should be added manually. Follow the instructions.
– LazyOne
Apr 16 '18 at 11:25
|
show 1 more comment
Please describe why installing "debugbar" will resolve your issue? Accordingly to the error message you have it installed already. github.com/barryvdh/laravel-debugbar
– LazyOne
Apr 15 '18 at 9:14
After i install the debugbar it shows that message and the project doesn't run anymore; what i meant is how can i install it without this error
– yahya boudahra
Apr 16 '18 at 8:55
The error is in YOUR code (...acellemailllappHelpershelpers.php
file). You are re-declaring the global function namedmeasure()
that is already defined by Laravel Debugbar package. You cannot do that -- it's basic PHP knowledge. Give your function another name... or get rid of Laravel Debugbar package so it does not introduce that function in first place.
– LazyOne
Apr 16 '18 at 9:39
i changed the function name in my code and it still doesn't show the bar of debug
– yahya boudahra
Apr 16 '18 at 11:03
"...it still doesn't show the bar of debug" -- so it must be some another issue. E.g. did you added that package ServiceProvider into appropriate place? Auto-discovery is available since Laravel 5.5; before that they should be added manually. Follow the instructions.
– LazyOne
Apr 16 '18 at 11:25
Please describe why installing "debugbar" will resolve your issue? Accordingly to the error message you have it installed already. github.com/barryvdh/laravel-debugbar
– LazyOne
Apr 15 '18 at 9:14
Please describe why installing "debugbar" will resolve your issue? Accordingly to the error message you have it installed already. github.com/barryvdh/laravel-debugbar
– LazyOne
Apr 15 '18 at 9:14
After i install the debugbar it shows that message and the project doesn't run anymore; what i meant is how can i install it without this error
– yahya boudahra
Apr 16 '18 at 8:55
After i install the debugbar it shows that message and the project doesn't run anymore; what i meant is how can i install it without this error
– yahya boudahra
Apr 16 '18 at 8:55
The error is in YOUR code (
...acellemailllappHelpershelpers.php
file). You are re-declaring the global function named measure()
that is already defined by Laravel Debugbar package. You cannot do that -- it's basic PHP knowledge. Give your function another name... or get rid of Laravel Debugbar package so it does not introduce that function in first place.– LazyOne
Apr 16 '18 at 9:39
The error is in YOUR code (
...acellemailllappHelpershelpers.php
file). You are re-declaring the global function named measure()
that is already defined by Laravel Debugbar package. You cannot do that -- it's basic PHP knowledge. Give your function another name... or get rid of Laravel Debugbar package so it does not introduce that function in first place.– LazyOne
Apr 16 '18 at 9:39
i changed the function name in my code and it still doesn't show the bar of debug
– yahya boudahra
Apr 16 '18 at 11:03
i changed the function name in my code and it still doesn't show the bar of debug
– yahya boudahra
Apr 16 '18 at 11:03
"...it still doesn't show the bar of debug" -- so it must be some another issue. E.g. did you added that package ServiceProvider into appropriate place? Auto-discovery is available since Laravel 5.5; before that they should be added manually. Follow the instructions.
– LazyOne
Apr 16 '18 at 11:25
"...it still doesn't show the bar of debug" -- so it must be some another issue. E.g. did you added that package ServiceProvider into appropriate place? Auto-discovery is available since Laravel 5.5; before that they should be added manually. Follow the instructions.
– LazyOne
Apr 16 '18 at 11:25
|
show 1 more comment
2 Answers
2
active
oldest
votes
Open the terminal and to do like this as your wise
1) Install DebugBar
- The DebugBar 2.4.x is for Laravel 5.4-
- The DebugBar 3.0.x is for Laravel 5.5+
A) Install the debuger 2.4 (Documentation)
composer require barryvdh/laravel-debugbar:~2.4
You will also need to add in providers
array in config/app.php
:
BarryvdhDebugbarServiceProvider::class
B) Install the debuger 3.0 (Documentation)
composer require barryvdh/laravel-debugbar --dev
2) After that, you need to update the composer
composer update
3) Clear cache and config
php artisan cache:clear
php artisan config:cache
4) Then after you need to add a line to .env
file
APP_DEBUG=true
add a comment |
composer require barryvdh/laravel-debugbar
open config/app.php and inside the ‘providers’ array add:
'BarryvdhDebugbarServiceProvider',
https://laravel-news.com/laravel-debugbar
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49834437%2fhow-can-i-install-debugbar-in-laravel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Open the terminal and to do like this as your wise
1) Install DebugBar
- The DebugBar 2.4.x is for Laravel 5.4-
- The DebugBar 3.0.x is for Laravel 5.5+
A) Install the debuger 2.4 (Documentation)
composer require barryvdh/laravel-debugbar:~2.4
You will also need to add in providers
array in config/app.php
:
BarryvdhDebugbarServiceProvider::class
B) Install the debuger 3.0 (Documentation)
composer require barryvdh/laravel-debugbar --dev
2) After that, you need to update the composer
composer update
3) Clear cache and config
php artisan cache:clear
php artisan config:cache
4) Then after you need to add a line to .env
file
APP_DEBUG=true
add a comment |
Open the terminal and to do like this as your wise
1) Install DebugBar
- The DebugBar 2.4.x is for Laravel 5.4-
- The DebugBar 3.0.x is for Laravel 5.5+
A) Install the debuger 2.4 (Documentation)
composer require barryvdh/laravel-debugbar:~2.4
You will also need to add in providers
array in config/app.php
:
BarryvdhDebugbarServiceProvider::class
B) Install the debuger 3.0 (Documentation)
composer require barryvdh/laravel-debugbar --dev
2) After that, you need to update the composer
composer update
3) Clear cache and config
php artisan cache:clear
php artisan config:cache
4) Then after you need to add a line to .env
file
APP_DEBUG=true
add a comment |
Open the terminal and to do like this as your wise
1) Install DebugBar
- The DebugBar 2.4.x is for Laravel 5.4-
- The DebugBar 3.0.x is for Laravel 5.5+
A) Install the debuger 2.4 (Documentation)
composer require barryvdh/laravel-debugbar:~2.4
You will also need to add in providers
array in config/app.php
:
BarryvdhDebugbarServiceProvider::class
B) Install the debuger 3.0 (Documentation)
composer require barryvdh/laravel-debugbar --dev
2) After that, you need to update the composer
composer update
3) Clear cache and config
php artisan cache:clear
php artisan config:cache
4) Then after you need to add a line to .env
file
APP_DEBUG=true
Open the terminal and to do like this as your wise
1) Install DebugBar
- The DebugBar 2.4.x is for Laravel 5.4-
- The DebugBar 3.0.x is for Laravel 5.5+
A) Install the debuger 2.4 (Documentation)
composer require barryvdh/laravel-debugbar:~2.4
You will also need to add in providers
array in config/app.php
:
BarryvdhDebugbarServiceProvider::class
B) Install the debuger 3.0 (Documentation)
composer require barryvdh/laravel-debugbar --dev
2) After that, you need to update the composer
composer update
3) Clear cache and config
php artisan cache:clear
php artisan config:cache
4) Then after you need to add a line to .env
file
APP_DEBUG=true
edited Mar 1 at 8:10
answered Nov 21 '18 at 5:41
Shabeer ShaShabeer Sha
73111
73111
add a comment |
add a comment |
composer require barryvdh/laravel-debugbar
open config/app.php and inside the ‘providers’ array add:
'BarryvdhDebugbarServiceProvider',
https://laravel-news.com/laravel-debugbar
add a comment |
composer require barryvdh/laravel-debugbar
open config/app.php and inside the ‘providers’ array add:
'BarryvdhDebugbarServiceProvider',
https://laravel-news.com/laravel-debugbar
add a comment |
composer require barryvdh/laravel-debugbar
open config/app.php and inside the ‘providers’ array add:
'BarryvdhDebugbarServiceProvider',
https://laravel-news.com/laravel-debugbar
composer require barryvdh/laravel-debugbar
open config/app.php and inside the ‘providers’ array add:
'BarryvdhDebugbarServiceProvider',
https://laravel-news.com/laravel-debugbar
answered Nov 21 '18 at 11:33
sharad shindesharad shinde
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49834437%2fhow-can-i-install-debugbar-in-laravel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please describe why installing "debugbar" will resolve your issue? Accordingly to the error message you have it installed already. github.com/barryvdh/laravel-debugbar
– LazyOne
Apr 15 '18 at 9:14
After i install the debugbar it shows that message and the project doesn't run anymore; what i meant is how can i install it without this error
– yahya boudahra
Apr 16 '18 at 8:55
The error is in YOUR code (
...acellemailllappHelpershelpers.php
file). You are re-declaring the global function namedmeasure()
that is already defined by Laravel Debugbar package. You cannot do that -- it's basic PHP knowledge. Give your function another name... or get rid of Laravel Debugbar package so it does not introduce that function in first place.– LazyOne
Apr 16 '18 at 9:39
i changed the function name in my code and it still doesn't show the bar of debug
– yahya boudahra
Apr 16 '18 at 11:03
"...it still doesn't show the bar of debug" -- so it must be some another issue. E.g. did you added that package ServiceProvider into appropriate place? Auto-discovery is available since Laravel 5.5; before that they should be added manually. Follow the instructions.
– LazyOne
Apr 16 '18 at 11:25