I know it was mentioned in the comments that you solved this by locating the offending plugin. However, I thought the following answer may be helpful for others if they happen along this in a search.
Here’s a little code snippet that can be used to save the debug log file by date:
ini_set( 'error_log', WP_CONTENT_DIR . '/debug-' . date('Y-m-d') . '.log' );
Using this method, you can prevent the file from just growing (it will set a new one each day).
Obviously, you want to track down the real problem so the debug log doesn’t grow infinitely. But using something like this can buy some time to help during the process.
Related Posts:
- How to fix the admin menu margin-top bug in WordPress 5.5?
- error_log() output for print_r() appearing on page
- What is in media-template.php, and how does it work?
- Does the debug.log do log rotation?
- Debugging an error: wp_enqueue_style was called incorrectly
- Change Password Hint
- Best way to extends core classes in theme?
- Where exactly do I write define( ‘WP_DEBUG’, true ) in wp-config file
- Utilize WP-CLI from inside WordPress, not SSH
- error_log is not working as expected in functions.php file
- Question about the template-loader.php file
- Using FirePHP with WordPress
- How does WP detect format type (and can I make use of this)?
- Debugging PHP object during Ajax call in WordPress
- “Notice: Undefined variable: content” is showing [closed]
- How to start a script from cli within wordpress
- mysqli_real_connect() – authentication method unknown to the client Warnings
- How to debug php code in hostgator cPanel
- how to trace notice warning on core function is_page() & is_singular in class-wp-query.php
- Remove annoying WP Adminbar CSS
- How do I implement a .diff changeset from core.trac.wordpress.org locally?
- Preferred Method of debugging a wordpress SQL calls?
- Same log message keeps on printing to debug.log file thousand of times
- How to find error in my code when the error message is pointing to WP core file?
- Mute Debug Messages from Plugins
- XAMPP-VM Mac OS Mojave wordpress debugging using XDebug
- How to debug my custom login form looping intermittently
- Are all hooks/functions tied to Kses meant for sanitization?
- “Undefined index” error when saving empty array with checkboxes
- Site throws 500 error after upgrading from PHP 5.6 to 7.X
- Location of core code for database connection and get_header
- How to display SQL query that ran in WC_Order_Query?
- How can I find the cause of a 500 server error?
- Admin submenu issue with PHP not detecting two strings as equal
- Hooks for post saving make a post-new.php to load latest post’s data
- add button to specific post
- Usage of var keyword in the core
- Publish button now showing content after saving
- Use wp_head hook on template page
- var_dump() and print_r() display null in php
- File is executed twice if plugin is activating
- Fatal error: wp-settings.php on line 199
- How to display only specific Error types in debug.log? No notices, warnings, etc
- Load WordPress core but with specific plugins
- How to identify which php file a plugin is using on page load?
- Notice : Array to string conversion on array_intersect user meta
- Custom WordPress Core upgrade through wp-cli
- Notice: Undefined index: post_title error
- (Xdebug Profiler) Why are there two cachegrind files generated for one page?
- Stripe button is not working in a template page
- I’m writing my first plugin and my echo output is showing up on every page of my wordpress installation
- How to find the function which is outputting Array
- Accessing Variables Used In a Plugin Using PHPStorm + XDebug
- WordPress won’t display errors at all
- Warning: Cannot modify header information (with a twist)
- How to quickly/easily make an analysis (reverse engineering) of WordPress?
- which php or css file has generated an inline style in WordPress that overwrites my css
- WordPress White Screen Error
- How can precision be improved for the debug log timestamp?
- Internal server error when enabling Multisite in WordPress
- change div text and link for logged in users
- Add Imports to Existing WordPress Import Map
- How to get the post title inside a custom block in a loop? block.js
- How to use url and amin-ajax.php
- WP – Ajax call back data printed in the console.log
- Dynamic Email Handler with ‘header (“Location: …’
- How to sort wordpress posts by selecting a year from a drop down?
- WooCommerce Checkout Cart [closed]
- How can I get values from a custom post type depending on where I click on my SVG map?
- a problem in class in class-wp-hook.php
- Differences and dis/advanages between: Fast-CGI, CGI, Mod-PHP, SuPHP, PHP-FPM
- WordPress taxonomy and terms question
- How do I a custom search form by taxonomies?
- WordPress REST API – Custom field not added to pages
- Woocommerce – add tracking code to another email template
- How to add custom user role into wordpress
- change title of page dynamically
- Custom Filtering date with newsletter
- WordPress critical error after trying to update to 6.2 – Fatal error: Allowed memory size of 268435456 bytes exhausted
- Custom plugin doesn’t show in admin menu – when code added, displays an empty page
- WordPress PHP8.2 Critical Error in class-wp-widget.php
- How to automatically flush permalinks?
- Creating an array with gettexed terms
- Execute wp_after_insert_post after the permalink is customized
- How can I change text on my SearchWP search results page, as this is not an editable page in WordPress?
- Display endpoint’s return into a file (file_put_contents())
- fetch php file from js script (Stripe Checkout) 403 Error
- do_blocks not working with a custom block
- How to change product title color in shop page if product has specific product tag (Woocommerce)?
- Display featured posts first, then display all others within a specific category in WordPress
- Parse error: syntax error, unexpected token “endif”, expecting end of file in C:\xampp\htdocs\Blog\register.php
- Restricting Image Upload Sizes using ‘wp_handle_upload_prefilter’ – Stuck media progress bar when Featured Image?
- Show the terms of the hierarchical taxonomy
- Why does WordPress not make use of gettext directly?
- i18n in WordPress Theme
- Warning: Undefined variable $post_id
- Exclude function for custom pages, exclude custom ACF fields
- Trouble with WordPress Settings API: Form Submits When Fields Called Directly, Fails When Using Callbacks
- “Cannot start session when headers already sent” when attempting session
- Adding a variable to some PHP code with gettext