Fatal error: Cannot declare class Debug_Bar, because the name is already in use in /s4-testforplugins/wordpress/wp-content/plugins/debug-bar/debug-bar.php on line 20
]]>Fatal error: Cannot declare class Debug_Bar, because the name is already in use in?plugins/debug-bar/debug-bar.php?on line?20
]]>Is there any way to have PHP errors sent to the Debug Bar plugin instead of displaying in the HTML of the site? I’d love to have them sent to a Debug Bar “console” of sorts so that they don’t interfere with the page layout (both the Editor and the front-end).
]]>Hello,
I can see I already have this in my wp-config.php
/**
* For developers: WordPress debugging mode.
define( ‘WP_DEBUG’, false );
Note: The error logs display on my site if I turn on to TRUE.
If I add these for your plugin:
define( ‘WP_DEBUG’, true );
define( ‘SAVEQUERIES’, true );
Is there any problems? Please advise. Thanks in advance!
]]>Greetings!
Our hoster has disabled the function php_uname due to security issues.
Activation of php_uname is out of the question.
But after updating PHP the page goes down with a Critical Error if a user logs in with Debug Bar active.
from the log file:
PHP Fatal error: Uncaught Error: Call to undefined function php_uname() in
…/plugins/debug-bar/debug-bar.php:293
This issue came up earlier in the topic ‘php_uname() has been disabled for security reasons’.
I hope you can work out a solution, Debug Bar makes our work a lot easier ??
Kind regards,
Nauthir
Hi,
I want to contribute to this plugin. Is there any git repository? or Any other way to contribute?
Thanks
]]>Seeing a variety of red errors in Debug Bar.
Running this on LocalWP, local Mac install. But I just checked and am also seeing errors on an equivalent online install of the site.
Initially, I thought it was an issue with SSL.
|Toggle|475.9 ms|705.8 ms|GET|https://dashboard.wppusher.com/api/releases/latest?v=3.0.13|200|
|---|---|---|---|---|---|
|Toggle|1,244.5 ms|718.4 ms|POST|https://api.www.ads-software.com/plugins/update-check/1.1/|200|
|Toggle|2,017.2 ms|489.5 ms|POST|https://api.www.ads-software.com/themes/update-check/1.1/|200|
|Toggle|2,515.3 ms|468.3 ms|POST|https://api.www.ads-software.com/core/version-check/1.7/?version=5.9.2&php=7.4.1&locale=en_GB&mysql=8.0.16&local_package=&blogs=1&users=29&multisite_enabled=0&initial_db_version=49752|200|
|Toggle|3,001.3 ms|17.5 ms|HEAD|https://mysite.local/wp-content/plugins/wp-debugging/vendor/afragen/wp-dismiss-notice/js/dismiss-notice.js|http_request_fail|
I note this earlier from https://www.ads-software.com/support/topic/red-debug-bar-on-first-login-to-local-site/ @joyously in which you said it is because of a SLOW connection… so, not necessarily an error?
I echo her… how can local be slow? Is the threshold too low? Is this the speed of remote connections that are being made?
Either way, are these really errors I need to worry about?
]]>I have been getting many errors in my server logs
‘client denied by server configuration’
and lots of 403 and 404’s for javascript include files in the browser console
When this plugin is activated.
I noticed this happens primarily on Block Editor and Customizer pages.
It seems there are some major issues with Debug Bar and current versions of WordPress particularly via admin pages.
Anyone else?
]]>Hello,
I’ve noticed after a recent update that Debug Bar always displays the following two menu items:
? The Events Calendar Context
? The Events Calendar JSON-LD Data
even though none of the Events Calendar plugins are installed. It would be great if the menu items were only shown when the plugins are installed and activated.
]]>[29-Sep-2021 05:11:18 UTC] PHP Notice: Undefined index: duration in H:\xampp\htdocs\demo\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 161
[29-Sep-2021 05:11:18 UTC] PHP Notice: Undefined index: duration in H:\xampp\htdocs\demo\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 170
[29-Sep-2021 05:11:18 UTC] PHP Notice: Undefined index: r in H:\xampp\htdocs\demo\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 174
[29-Sep-2021 05:11:18 UTC] PHP Notice: Undefined index: r in H:\xampp\htdocs\demo\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 177
[29-Sep-2021 05:11:18 UTC] PHP Notice: Trying to access array offset on value of type null in H:\xampp\htdocs\demo\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 177
[29-Sep-2021 05:11:18 UTC] PHP Notice: Trying to access array offset on value of type null in H:\xampp\htdocs\demo\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 177
Install WordPress with Debug Bar and WordPress Beta Tester
Go to admin > plugins page.
There are a lot of errors.
Notice: Undefined index: r in wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 160
Notice: Undefined index: duration in wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 161
Notice: Undefined index: duration in wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 170
Notice: Undefined index: r in wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 174
Notice: Undefined index: r in wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 177
And at the bottom of Debug Bar page is..
]]>435.7 ms 0.0 ms POST https://api.www.ads-software.com/core/version-check/1.7/?version=5.9-alpha-51636&php=7.1.33&locale=en_US&mysql=5.5.5&local_package=&blogs=1&users=3&multisite_enabled=0&initial_db_version=48748
438.5 ms 1,006.2 ms POST https://api.www.ads-software.com/core/version-check/1.7/?version=5.9-alpha-51636&php=7.1.33&locale=en_US&mysql=5.5.5&local_package&blogs=1&users=3&multisite_enabled=0&initial_db_version=48748&channel=development 200
Hi,
As my colleagues are using JQ Migrate, there is so warning concerning shorthand that are deprecated by jQuery project (according to https://github.com/jquery/jquery-migrate/blob/main/warnings.md).
I did the changes, but there is no instruction where to push any PR, or how to build the plugin.
Can anyone give me directions to the closest documentations.
Thanks!
]]>Why is it whenever I first login to a localhost site, the Debug Bar is red, but there is no error?
WordPress 5.7
PHP 7.4
PHP Deprecated: Called constructor method of Debug_Bar_Panel :: Debug_Bar_Panel class in Debug_Bar_Panel is <strong> deprecated </strong> since 0.8.3! Use <code> __construct () </code>
How to fix?
]]>Hello,
The recently release version added a WP_http item to the menu bar while in the WP admin interface to point out requests that take a long time. I am observing that a lot of the time, those requests are to external websites for plugins to check for updates/licenses/…
I think there is value in this but it is a bit distracting to have the Debug Bar menu item go red when these requests take a long time. Would it be possible to use a different color (maybe orange) or a different ways to mark these requests?
I think the color red should be reserved for when something is wrong (PHP/JS error, database error…).
]]>Notice: Trying to access array offset on value of type null in ..\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 177
Notice: Trying to access array offset on value of type null in ..\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 62
Notice: Undefined index: duration in ..\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 161
Notice: Undefined index: duration in ..\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 170
]]>Notice: Undefined index: r in ..\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 160
Notice: Undefined index: r in ..\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 174
Notice: Undefined index: r in ..\wp-content\plugins\debug-bar\panels\class-debug-bar-wp-http.php on line 177
]]>Hi Debug Bar Support plugin,
first of all, thank you for making this plugin.
in my local env. i see this error message:
this is the system info:
### WordPress Environment ###
WordPress address (URL): https://wp.woo
Site address (URL): https://wp.woo
WC Version: 4.7.1
REST API Version: ? 4.7.1
WC Blocks Version: ? 3.8.0
Action Scheduler Version: ? 3.1.6
WC Admin Version: ? 1.6.3
Log Directory Writable: ?
WP Version: ? 5.6-RC1-49646 - There is a newer version of WordPress available (5.7-alpha-49645)
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: ?
WP Cron: ?
Language: en_US
External object cache: –
### Server Environment ###
Server Info: nginx/1.14.2
PHP Version: 7.4.12
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.64.0
OpenSSL/1.1.1g
SUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.25-MariaDB-0+deb10u1
Max Upload Size: 2 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?
What could be the reason for these error messages?
Kind Regards
]]>I am only suggesting an added feature:
Switch the debug on only for users that are logged in (maybe by capability: editors, admins, …).
I review my websites periodically and always go to the backend to check plugin/theme versions, etc… I like to run thru some frontend pages as well.
This way we never have to worry about the public seeing warnings & notices when we are debugging stuff or worse – forget to turn it off.
Thanks for your consideration.
]]>i get this message in my debug mod. and i dont know what it is/means and what it is doing. Is here sombody how knows this and can help it to fix it if this message makes me trouble in wp.
[05-Sep-2020 00:37:00 UTC] PHP Fatal error Cannot declare class Debug_Bar, because the name is already in use in /home/www/auberge-sankt-laurentius.com/wp-content/plugins/debug-bar/debug-bar.php on line 20
thank you for helping
]]>?χω μ?α προσωπικ? ιστοσελ?δα με url https://despkavoura.sites.sch.gr/. ?κανα αναβ?θμιση στο wordpress και η σελ?δα δε λειτουργε?. Βγ?ζει μ?νυμα: “Παρουσι?στηκε ?να κρ?σιμο λ?θο? στον ιστ?τοπ? σα?.Διαβ?στε για την απασφαλμ?τωση στο WordPress.”
Προσπαθ? να βρω τη λ?ση , αλλ? δυστυχ?? δεν τα καταφ?ρνω. Δεν μπορ? να καταλ?βω τι ?γινε. Απλ? ?κανα ενημ?ρωση στα πρ?σθετα και αναβ?θμιση στο wordpress, που μου πρ?τεινε η σελ?δα. Δεν ε?ναι η πρ?τη φορ? που κ?νω ενημ?ρωση.
Μπορε? να επαν?λθει στην αρχικ? τη? κατ?σταση ? θα χ?σω ?λη τη δουλει? που ?χω κ?νει τ?σου? μ?νε?, προσπαθ?ντα? να την εμπλουτ?σω με υλικ? σε ?λε? τι? τ?ξει? του γυμνασ?ου,ειδικ? τ?ρα που ανο?γουν τα σχολε?α και τη χρειαζ?μουν, λ?γω μ?α? προσπ?θεια? αναβ?θμιση? τη? wordpress.Μ?σα στη διαχε?ριση αρχε?ων μ?σω του πανελλ?νιου σχολικο? δικτ?ου(sch) δε?χνει ?τι το wordpress ?χει καταστραφε?. Δεν υπ?ρχει καν σελ?δα με το συγκεκριμ?νο ?νομα. Π?? γ?νεται με μ?α αναβ?θμιση να εξαφαν?στηκε η σελ?δα;
Hi,
is it possible to show the debugbar when not logged in, so that we can review the effectiveness of our caching strategies etc?
Essentially we want to look at the queries called when viewing the site as a non-user. (When we are logged in the caching isn’t enabled so there are more queries)
thanks
J
there’s a repository on github, or somewhere where I can send a pull request?
]]>Wondering if this plugin will be updated to be compatible with the current version of wordpress? Hasn’t been updated for 3 major releases.
Thanks,
Andrea
I installed this pluging to debug something else, now I get a 500 error whenever I log into the admin page. I looked in the plugin folder and I don’t see a debug bar folder there. Where/how can I disable this?
]]>Please check this with teh Divi theme builder. The Divi theme menu is hiding the top part of the debug screen. It seems the debug screen is not fully on top.
]]>I notice when I check the changelog in wp-admin that it’s missing any entry for 1.0.
https://plugins.trac.www.ads-software.com/browser/debug-bar/trunk/readme.txt#L98
This is pretty minor but I usually base upgrades of the changelog.
Thanks
]]>It would be great if the debug bar error handler could be disabled using a constant, so I can use my own custom error handler.
(it works for query monitor like this already using: define( ‘QM_DISABLE_ERROR_HANDLER’, true );
File class-debug-bar-php.php => set_error_handler( would need to be wrapped in condition for it to work.
It’s a really simple but helpful change.
]]>I’m running MariaDB 10.3 yet the plugin always shows 5.5 as the MySQL version. Why is this?
]]>Currently you are required to enabled WP_DEBUG
and WP_DEBUG
in the wp-config.php file. But walking clients through this is frequently a hassle and security permitting (maybe admins only?) it would be helpful to be able to enable this from the dashboard.