Title: error log problem
Last modified: June 20, 2024

---

# error log problem

 *  [monoor](https://wordpress.org/support/users/monoor/)
 * (@monoor)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/error-log-problem/)
 * Hello, these errors have been appearing in my **error_log** for some time:
 *     ```wp-block-code
       [22-Apr-2024 00:03:15 UTC] PHP Warning:  Module 'igbinary' already loaded in Unknown on line 0[22-Apr-2024 00:03:15 UTC] PHP Warning:  Module 'timezonedb' already loaded in Unknown on line 0[22-Apr-2024 03:33:15 Asia/Tehran] PHP Notice:  Constant WP_DEBUG already defined in phar:///opt/clwpos/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1231) : eval()'d code on line 90[22-Apr-2024 03:33:15 Asia/Tehran] PHP Notice:  Constant WP_DEBUG_DISPLAY already defined in phar:///opt/clwpos/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1231) : eval()'d code on line 92
       ```
   
 * As shown in the image below, these errors occur at certain times of the day
 * ![](https://i0.wp.com/i.postimg.cc/9McTFnvW/1403-03-31-07-13-32-error-log-c-Panel-
   File-Manager-v3.png?ssl=1)
 * Also, my debug_log is always enabled in wp-config like this:
 *     ```wp-block-code
       define('WP_DEBUG', true);define('WP_DEBUG_LOG', '../aoidjasad/adaswdwa.log');define('WP_DEBUG_DISPLAY', false);
       ```
   
 * (Errors are in the error_log file, not the debug_log)
 * Do you know what the problem is? How can I make them stop giving errors?
   Is it
   possible without disabling debug_log?Can these errors disrupt the operation of
   the system? Or are they just a simple notification?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Benjamin Zekavica](https://wordpress.org/support/users/benjamin_zekavica/)
 * (@benjamin_zekavica)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/error-log-problem/#post-17839721)
 * Hallo [@monoor](https://wordpress.org/support/users/monoor/) ,
   replace this line–
   currently you have a path inside. You only have to use here a _**boolean (true,
   false) **_
 *     ```wp-block-code
       define( 'WP_DEBUG_LOG', true );
       ```
   
 *  Thread Starter [monoor](https://wordpress.org/support/users/monoor/)
 * (@monoor)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/error-log-problem/#post-17844013)
 * Hello, thank you for your reply [@benjamin_zekavica](https://wordpress.org/support/users/benjamin_zekavica/)
   
   But this is not good for security.If the problem is this, how can I move the 
   path of saving errors outside of public_html?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error log problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [monoor](https://wordpress.org/support/users/monoor/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/error-log-problem/#post-17844013)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
