• Hello, these errors have been appearing in my error_log for some time:

    [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

    Also, my debug_log is always enabled in wp-config like this:

    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)
  • Hallo @monoor ,
    replace this line – currently you have a path inside. You only have to use here a boolean (true, false)

    define( 'WP_DEBUG_LOG', true );
    Thread Starter monoor

    (@monoor)

    Hello, thank you for your reply @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)
  • You must be logged in to reply to this topic.