79711576

Date: 2025-07-23 09:01:03
Score: 0.5
Natty:
Report link

Joe's answer is smart, but for some reason I couldn't use that. Instead, I did this and the warnings disappeared from the Apache error log.

At the very end of wp-config.php, add:

error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);

Tested on: FPM 8.0 / WP 6.8.2

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Snow_Raph