This may be a pretty rare problem but I’ll post it regardless.
You turn on WordPress debugging only to find the log full of deprecated notices that make the log difficult to parse. Bummer.
You could spend time going through each deprecated notice and updating the offending piece of code. Or you could ask WordPress to ignore these deprecated notices (at least in the short term) by doing the following;
Here is a command line method to replace a string in multiple files in the current and sub directories.
Here is a command to get a list of modified files in a directory and subdirectories;
Here is a simple way to get the last line of a file without reading the entire file into memory.