Hello!
Today I turned on the WP log viewer because the media cleaner program is constantly sending an error message. “The server sent an error.”
I tried to run the media cleaner program again but the screen remains blank and the program cannot load.
Please check that you are not at fault.
]]>Hi I love this plgin but I use it on multisite and only want super admins to be able to access the error log.
There is a simple change/fix that would enable this
Eiher change the capability check in the check_if_authorized function to “update_plugins” or a similar multisite safe capability OR add a filter so this can be changed via code (without editiing the core plugin.
]]>Sorry to say but this doesn’t work anymore with WP 5.5 update. DOM errors and other…
Pitty.
]]>Is it possible tyto make this support multisite better. At the moment the plugin boots up and is visible to admins but this is pretty pointless as the information is only really useful to those with super admin access (as those are the only people who can make changes to the code).
Can I suggest you change the capability check hen displaying this plugins output to update_plugins?
Pete
]]>I get the following error when opening the Products page on my WooCommerce server:
Uncaught Error: Invariant Violation: AdminBarNav.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.
at r (main.min.js?ver=5.4:5)
at p._renderValidatedComponent (main.min.js?ver=5.4:2)
at p.ReactCompositeComponent__renderValidatedComponent [as _renderValidatedComponent] (main.min.js?ver=5.4:4)
at p._updateRenderedComponent (main.min.js?ver=5.4:2)
at p._performComponentUpdate (main.min.js?ver=5.4:2)
at p.updateComponent (main.min.js?ver=5.4:2)
at p.ReactCompositeComponent_updateComponent [as updateComponent] (main.min.js?ver=5.4:4)
at performUpdateIfNecessary (main.min.js?ver=5.4:2)
at Object.performUpdateIfNecessary (main.min.js?ver=5.4:4)
at s (main.min.js?ver=5.4:4)
When I deactivate the WP Log Viewer the error message is gone.
]]>From Yoast SEO version 9.4 and higher, the Yoast SEO “Snipplet Preview” goes blank when WP Log Viewer v1.2.1 is activated. This issue is described here:
https://github.com/Yoast/wordpress-seo/issues/11937
Thanks
Per
Hello – with last 3updates of #gutenberg is there error
https://github.com/WordPress/gutenberg/issues/11972
TypeError: Cannot set property 'props' of undefined
at r (/wp-content/plugins/wp-log-viewer/assets/js/main.min.js?ver=4.9.8:2:15393)
at t (/wp-content/plugins/gutenberg/build/editor/index.js?ver=1542789922:55:4348)
at ph (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:97:88)
at eg (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:125:307)
at fg (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:126:168)
at wc (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:138:237)
at fa (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:137:115)
at gg (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:135:196)
at Ca (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:133:365)
at Object.enqueueSetState (/wp-content/plugins/gutenberg/vendor/react-dom.min.713f0afa.js:191:324)
it’s OK for last in “gutenberg v4.4.0”
Q can you help?
]]>I activated the plugin, when I try to view the log I get this:
Debugging is enabled. However, the debug.log file does not exist or was not found.
Any idea?
Clicking either link in Admin > Plugins results in a popup (good) and error in your main.min.js file (bad).
Error:
Uncaught Error: Invariant Violation: _registerComponent(...): Target container is not a DOM element.
at r (main.min.js?ver=4.9.8:5)
at Object._registerComponent (main.min.js?ver=4.9.8:4)
at Object._renderNewRootComponent (main.min.js?ver=4.9.8:4)
at Object.a [as _renderNewRootComponent] (main.min.js?ver=4.9.8:4)
at Object.render (main.min.js?ver=4.9.8:4)
at Object.a [as render] (main.min.js?ver=4.9.8:4)
at main.min.js?ver=4.9.8:9
]]>
Hi guys,
I’ve been editing a post using Gutenberg 3.3.0 and if I have WP Log Viewer enabled, the image block displays an error “This block has encountered an error and cannot be previewed.” This is both when trying to upload or select a media image, but also viewing images that have already been inserted in the post and previously saved.
WP Log View activated: https://www.dropbox.com/s/0e3fn987wdqxzfu/WP%20Log%20Viewer%20-%20Activated.png?dl=0
Wp Log Viewer deactivated: https://www.dropbox.com/s/g4ip42zdauwfrsu/WP%20Log%20Viewer%20-%20Deactivated.png?dl=0
I do have a bunch of other plugins installed, but I’ve done a plugin conflict test and it seems to be WP Log Viewer is the only plugin causing the issue. Keen to help debug this, let me know if I can be of any further help.
Andy
]]>Due to the slow internet while traveling this plugin often reports weird WordPress wp-includes
related errors and I have to clear those again and again.
Wish there was a way to ignore such errors once in for all.
]]>I have a huge debug log file and would be able to toggle Auto Refresh as by the time it refreshes the log, it starts the auto refresh again, so the tab ends up crashing and I don’t get to see my log
]]>what are types of errors to create on custom and even their error keys?
]]>Hi!
I just installed this plugin and have made the changes in wp-config.php as described. The plugin seems to work, except for this message:
Debugging is enabled. However, the debug.log file does not exist or was not found.
Where should the log file reside?
Best regards,
/Mikko
I followed the directions and added the wplv-config file to my root directory and modified wp-config to enable the error toggle feature of this plugin and it seems that the log is actually working, despite it saying that it is “disabled” as it is registering errors. However, there doesn’t appear to be a way to turn the feature on or off.
]]>I noticed that the search facility doesn’t look into file names (originating the log line).
I think that would be a useful addition. And while we’re at it, why not search in the line number?
I understand it could mean to reverse the search/parse logic, but maybe not, so I suggest.
Thank you
]]>Upon install, seeing these 2 notices in the viewer.
PHP Notice: Undefined index: timezone in /wp-content/plugins/wp-log-viewer/libs/Plugin.php on line 202
PHP Notice: Undefined index: time in /wp-content/plugins/wp-log-viewer/libs/Plugin.php on line 202
]]>Hi there, I’m getting the following error:
TypeError: self._errorHandlers.shift(…) is not a functionhttps://site.com/wp-content/plugins/wp-log-viewer/assets/js/main.min.js?ver=4.9.4 line 6
]]>I followed all the instructions to create new php file
and amend config.,..
Tried adding code to top of config file above and below <?php first line.
Neither took.
any suggestions?
thank you
]]>Hey. This plugin is great.
There appears to be a conflict with Gutenberg. My guess would be that the problem is related to the fact that both projects load React (also different versions). Gutenberg is going to be merged into the WordPress core soon. Thanks.
]]>Hi,
The plugin is installed and activated.
I have added the 3 lines to my config.php OK
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
…but the plugin says “debugging is currently disabled”.
What have I missed?
thanks,
James.
Hi. Thank for very usefull plugin. But PHP notice alert with me sometime is not needed. What can i do to disabled PHP notice function for sometime and enable later? Thanks
]]>Hi! I want to report that if you use print_r command with option TRUE to get the content of an array in the log like this:
$output = print_r($data, TRUE);
error_log(“Insert data:” . $output, 0);
The log viewer only shows this:
Insert data:Array
While the log itself contains:
[02-Sep-2017 14:50:42 UTC] Insert data:Array
(
[user_id] => 3
[username] => tester
[time_login] => 2017-09-02 14:50:42
[ip_address] => 80.100.107.103
[time_last_seen] => 2017-09-02 14:50:42
[browser] => Chrome
[operating_system] => Windows 7
[country_name] => Netherlands
[country_code] => NL
[old_role] => editor
[timezone] => Europe/Amsterdam
)
Can the plug-in be changed that it displays the whole string?
[ No bumping please. ]
]]>Hello!
The plugin Debug Bar uses the following CSS:
.debug-status {
float: left;
margin-right: 40px;
}
This causes the status in the admin bar to be disaligned. Is it possible to change the class name or to add some CSS to correct this?
Thank you!
]]>News about fix this?
Notice: Il metodo del costruttore richiamato per Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel è deprecato dalla versione 0.8.3! Utilizzare invece
__construct()
. in /home/nkaxxjsf/public_html/demo2/wp-includes/functions.php on line 3893
Problem reported also here: Deprecated warning
]]>My wordpress is installed in a subdomain:
I followed the instructions in the help section, but it still says ‘Feature must be configured’.
What is wrong?
Thanks.
]]>Hi,
on plugin page you place instructions for toggle debug enabling:
Enabling this feature is easy and takes less than a minute.
– In your document root, create the following file: wplv-config.php
– Paste the following into wplv-config.php
<?php
if (!defined(‘ABSPATH’)) { header(‘HTTP/1.0 403 Forbidden’); die; }
define(‘WPLV_DEBUG’, false);
– In wp-config.php, add the following line. Add it before the line where you define WP_DEBUG.
include_once $_SERVER[‘DOCUMENT_ROOT’] . ‘/wplv-config.php’;
– In wp-config.php, replace the line where you define WP_DEBUG with the following
define(‘WP_DEBUG’, defined(‘WPLV_DEBUG’) ? WPLV_DEBUG : false);
– That’s it. Refresh the page in the browser and you are ready to go.
but this doesn′t working
in plugin you have this instructions:
Help
Configure Debug TogglingOnce configured, you can enable/disable WP_DEBUG with just one click. Now that’s the life.
Step 1In your site’s document root, create the following file: wplv-config.php
Step 2Add the following code to wplv-config.php:
<?php if (!defined(‘ABSPATH’)) { header(‘HTTP/1.0 403 Forbidden’); die; } define(‘WPLV_DEBUG’, false); Step 3Add the following snippet to the top of your wp-config.php to include wplv-config.php
include_once $_SERVER[‘DOCUMENT_ROOT’] . ‘/wplv-config.php’;Step 4Add the following snippet where you set the value of WP_DEBUG. If you are already setting this constant, replace it with this snippet.
define(‘WP_DEBUG’, defined(‘WPLV_DEBUG’) ? WPLV_DEBUG : false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);Step 5Refresh the page in the browser (reload page)
but this is unclear
How can I simply enable “logging toggle”
]]>Every log entry has “Invalid Date” as data and time
Screenshot:
Example from debug.log:
[08-Mar-2017 14:11:39 Europe/Amsterdam] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Math_BigInteger has a deprecated constructor in /www/wp-content/plugins/loginizer/IPv6/BigInteger.php on line 190
]]>Hi,
I have a small feature request: please add a filter to the log_file location in the init() method of the Log class. This is usefull for developers who have a custom log file location. Example below:
public function init()
{
$this->log_file = apply_filters(‘wp-log-viewer-get-log-file-location’, WP_CONTENT_DIR . ‘/debug.log’);
}
Installed the plugin on 4.7.2 and on activation received this error:
[Tue Feb 07 12:33:50 2017] [error] [client 97.104.76.195] PHP Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/wordpress/<sitename-removed>/wp-content/plugins/wp-log-viewer/libs/Plugin.php on line 27, referer: https://<sitename-removed>/wp-admin/plugins.php?plugin=wp-log-viewer%2Fwp-log-viewer.php
It’s running Linux (debian squeeze) if that matters.
]]>