When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7.1
Active theme: Twenty Twenty-Four/twentytwentyfour-wi (version 1.2)
Current plugin: Debug Log Helper (version 1.5.3)
PHP version 8.2.27
Error Details
=============
An error of type E_ERROR was caused in line 71 of the file /srv/htdocs/wp-content/plugins/debug-log-config-tool/app/vendor/WPConfigTransformer.php. Error message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8388616 bytes)
Idea: do less memory consuming operations …
]]>Hi after I activate your Plugin I got a White screen of death. Have you any suggestions to help?
]]>With version 1.5.2, the Debug Log view has a constant spinner and when I refresh the page I notice a Network error. The WP error logs show the error below. I am running WP 6.5.0 in Docker locally.
[16-Apr-2024 11:34:24 UTC] PHP Fatal error: Uncaught Exception: Config file is empty. in /var/www/html/wp-content/plugins/debug-log-config-tool/app/vendor/WPConfigTransformer.php:71
Stack trace:
#0 /var/www/html/wp-content/plugins/debug-log-config-tool/app/Controllers/ConfigController.php(85): DebugLogConfigTool\vendor\WPConfigTransformer->exists('constant', 'SCRIPT_DEBUG')
#1 /var/www/html/wp-content/plugins/debug-log-config-tool/app/Controllers/ConfigController.php(90): DebugLogConfigTool\Controllers\ConfigController->exists('SCRIPT_DEBUG')
#2 /var/www/html/wp-content/plugins/debug-log-config-tool/app/Controllers/SettingsController.php(15): DebugLogConfigTool\Controllers\ConfigController->getValue('SCRIPT_DEBUG')
#3 /var/www/html/wp-content/plugins/debug-log-config-tool/app/Router.php(98): DebugLogConfigTool\Controllers\SettingsController->get()
#4 /var/www/html/wp-content/plugins/debug-log-config-tool/app/Router.php(75): DebugLogConfigTool\Router->callAction(Object(DebugLogConfigTool\Controllers\SettingsController), 'get')
#5 /var/www/html/wp-content/plugins/debug-log-config-tool/app/Classes/AjaxHandler.php(23): DebugLogConfigTool\Router->direct('get_settings', 'GET')
#6 /var/www/html/wp-includes/class-wp-hook.php(324): DebugLogConfigTool\Classes\AjaxHandler->handleRequest('')
#7 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#8 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /var/www/html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_dlct_lo...')
#10 {main}
thrown in /var/www/html/wp-content/plugins/debug-log-config-tool/app/vendor/WPConfigTransformer.php on line 71
]]>
Just updated and getting this error regularly in the debug log:
[24-Mar-2024 15:22:46 UTC] PHP Fatal error: Uncaught Error: Undefined constant “ReturnTypeWillChange” in /wp-content/plugins/debug-log-config-tool/app/Controllers/LogController.php(104) : eval()’d code:1
Stack trace: 0/wp-content/plugins/debug-log-config-tool/app/Controllers/LogController.php(104): eval() 1 /wp-content/plugins/debug-log-config-tool/app/Controllers/LogController.php(57): DebugLogConfigTool\Controllers\LogController->parseLogLine(’24-Mar-2024$!$1…’) 2 /wp-content/plugins/debug-log-config-tool/app/Classes/DashboardWidget.php(12): DebugLogConfigTool\Controllers\LogController->loadLogs(5) 3 wp-content/plugins/debug-log-config-tool/app/Classes/DLCT_Bootstrap.php(181): DebugLogConfigTool\Classes\DashboardWidget->init() 4 /wp-admin/includes/template.php(1456): DebugLogConfigTool\Classes\DLCT_Bootstrap->DebugLogConfigTool\Classes{closure}(”, Array) 5 /wp-admin/includes/dashboard.php(271): do_meta_boxes(Object(WP_Screen), ‘normal’, ”) 6 /wp-admin/index.php(204): wp_dashboard() 7 {main}
thrown in /wp-content/plugins/debug-log-config-tool/app/Controllers/LogController.php(104) : eval()’d code on line 1
]]>I am trying to deactivate the plugin but am getting this error message – https://ibb.co/dWQP0Wv
Any idea how I can uninstall it?
Thanks,
Gavin
]]>I’ve been using this plugin consistently for months now and all of a sudden the delete button stopped working and only refreshed the list.
]]>The log refresh button only works once for me and then I either need to delete the logs or refresh the page. It would be great if you could just keep clicking the button to get the latest logs.
]]>Hi dear support,
the plugin worked great – but suddenly stopped working, evertime i am clikcing on Debug Logs > Logs I only get this message:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Could you help?
Hi and thank you for the plugin.
It would be much better (imho) instead of the debug link in top admin bar (a top bar that is already occupied by many other plugins), to have a dashboard widget showing the debug .log contents.
Thanks
]]>Hi.
Thank you for this plugin. It makes my life a bit easier ?? However to make it perfect it would be great if you could add an option to display the list of logs in the order from the latest (top) to the oldest (bottom).
Also, a filtration would be great. To quickly find all logs that contain a specific phrase.
What do you think?
]]>Fatal error: Uncaught Error: Call to a member function exists() on null in /var/www/html/wp-content/plugins/debug-log-config-tool/src/Classes/DebugConstantManager.php:167 Stack trace: #0 /var/www/html/wp-content/plugins/debug-log-config-tool/src/Classes/Activator.php(23): DebugLogConfigTool\DebugConstantManager->exists(‘WP_DEBUG’) #1 /var/www/html/wp-content/plugins/debug-log-config-tool/src/Classes/Activator.php(12): DebugLogConfigTool\Activator->saveInitialConstants() #2 /var/www/html/wp-content/plugins/debug-log-config-tool/src/Classes/DLCT_Bootstrap.php(11): DebugLogConfigTool\Activator->run() #3 /var/www/html/wp-content/plugins/debug-log-config-tool/plugin.php(31): DebugLogConfigTool\DLCT_Bootstrap::activate() #4 /var/www/html/wp-includes/class-wp-hook.php(308): {closure}(”) #5 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /var/www/html/wp-admin/plugins.php(194): do_action(‘activate_debug-…’) #8 {main} thrown in /var/www/html/wp-content/plugins/debug-log-config-tool/src/Classes/DebugConstantManager.php on line 167
I wonder if there is any permission issue.
Thank you for the great plugin
]]>I have a fresh install of WordPress 6.1.1 with only the Debug Log – Config Tool installed, all debug constants have been enabled but I get the error ‘Debug log not could not be opened !’
]]>Love the plugin ??
Is there any way to display the full debug log. The plugin seems to truncate and only show x number of lines.
]]>It says:
Debug log not could not be opened !
how can i fix it?
]]>So I just installed and thought it would turn debug off, but then I checked wp-config and it doesn’t.
]]>