Questions tagged [wp-debug]
The wp-debug tag has no summary.
85 questions
1 vote
1 answer
228 views
WP 6.8: Meta boxes no longer auto-scroll due to new resize handle
After updating to WordPress 6.8, I observed an unexpected UI change in the post editor. A new resize handle has appeared at the bottom of the meta boxes area, specifically for plugins like SEOPress. ...
3 votes
1 answer
383 views
wp-config debug 'false' or 'true'
I'm getting huge php error logs and saw on a forum that the issue might be that I needed to set WP_DEBUG and DEBUG-LOG to 'false' (as 'true' is only needed on a development site. Makes snese, I ...
0 votes
0 answers
66 views
Turning off debug in my WP blog causes an internal error
Sorry if this is a basic question, but I'm not a WP expert in any way. Using WordPress version 6.0.9 I have a blog hosted on someone's server (where I host other sites that I develop, not using WP), ...
0 votes
2 answers
146 views
Critical Error on Pages – WP_DEBUG Not Showing Anything
We have a bunch of sites using a custom theme we had assistance creating many years ago. When we upgrade PHP on the server from v7.4.x to v8.2.x, we get a critical error message on most of the pages (...
0 votes
1 answer
39 views
Inactive plugin warnings logged in log file
I have enabled WP_DEBUG in config. I have also set WP_DEBUG_LOG to true WP_DEBUG_DISPLAY is false. I have one of the custom plugin that is inactive from the admin. But when i check the log file, there ...
0 votes
1 answer
1k views
Warning: Constant WP_DEBUG already defined
PHP 8.1.17 WP-CLI 2.7.1 WP set up as multisite network Adding the following line to wp-config.php (line 107)… define('WP_DEBUG', true); …causes wp-cli to report the following… $ wp plugin list ...
0 votes
2 answers
243 views
Automated WordPress update failed to complete - but all updates fail with code -1
I have a WordPress website on my Ubuntu machine. I do use auto-updates and auto-updates for plugins. After I logged in recently I saw that a couple of plugins didn't update, as well as WordPress ...
0 votes
1 answer
269 views
Fatal error trace not shown in development setup
I recently re-did my local dev setup and have been seeing these types of fatal error warnings: There has been a critical error on this website. Please check your site admin email inbox for ...
0 votes
0 answers
61 views
Many big issues in the website, WP_Debug not showing
I have this website https://itds.pl/ suddenly it started working really bad and I can't find the reason. Website is Multi website system Using WPML Using ACF Have two domains: Main domain Eng and has ...
4 votes
3 answers
6k views
Wordpress 6.x / PHP 8.x deprecated warnings in development environment
The problem: I want to run Wordpress 6.x with PHP 8.x in development mode - meaning define('WP_DEBUG', true); but Wordpress 6.x partial support for PHP 8.x throws a lot of deprecated warnings which do ...
2 votes
1 answer
3k views
How do you change error reporting to only show errors in WordPress?
I'm working on a development site that has some plugins that produce notices. It's a bit annoying during development when you only want to see the errors your own code produces. How can you turn off ...
0 votes
1 answer
67 views
website has a bug
Wordpress website Red Bug shown in top line, I have an error message: NOTICE: wp-includes/functions.php:5313 - WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To ...
0 votes
1 answer
234 views
There is no any line related the error but it says critical error
My website says critical error on website after add my custom code but there is no any line related my custom code in log file.There are only 2 repater lines and they are standard for my website, not ...
1 vote
0 answers
36 views
WP_DEBUG must be on, otherwise edit post or page will show 404 error
encountered a very strange error: my WP_DEBUG must be on (set to true), otherwise editing post or page at the admin panel will show the 404 error. While the save post/page can still be seen. The ...
0 votes
3 answers
2k views
Why does WordPress keep showing me error messages?
I'm trying to hide error messages on a WordPress installation on a shared hosting. I added the following code to my config. ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('...