error log is going to the wrong location, WP_DEBUG_LOG is ignored September 8, 2022 by Tarik Billa A couple of educated guesses: Is there a setting in Apache that circumvents your path in WP_DEBUG_LOG? Did you check the Apache error logs for permission issues?