• That is what I set on wp-config.php but is not working, and I have even created the debug.log file at wp-content folder as and set 777 file permission to it as well:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define('WP_DEBUG', false);

    Does someone here could imagine why? Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Why do you define it to true and then redefine the same thing to false?

    Thread Starter diegpl

    (@diegpl)

    My bad, just fixed that, but the error persists. That is what is added on my wp-config.php with some hidden information here for security reasons:

    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_REDIS_CLIENT', 'pecl');
    define('WP_REDIS_HOST', 'localhost');
    define('WP_REDIS_PORT', '6379');
    define('WP_REDIS_MAXTTL', '86400');
    define( 'WP_REDIS_SERIALIZER', Redis::SERIALIZER_IGBINARY );
    
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    
    define('FS_METHOD', 'direct');
    define('FS_CHMOD_DIR', (0755 & ~ umask()));
    define('FS_CHMOD_FILE', (0664 & ~ umask()));
    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'xxx');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define('ESITES_PARENT_SITE_ID', xxx);
    
    define( 'xxx_xxxx_PATH', 'wp-content/themes/xxx' );
    define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
    
    //set_time_limit(60);
    
    /* That's all, stop editing! Happy blogging. */
    /** Absolute path to the WordPress directory. */

    What could be causing the issue if not something at this peace of code? Thank you! ??

    Thread Starter diegpl

    (@diegpl)

    I also tried to set define( ‘WP_DEBUG_LOG’, ‘/wp-content/debug.log’ ); but did not work. Could it be an APACHE error as said here? https://stackoverflow.com/questions/13788660/with-wp-debug-log-set-to-true-no-debug-output-shows-in-debug-log-why
    Tks! ??

    Thread Starter diegpl

    (@diegpl)

    It seems my logs are being recorded here for some reason: /var/opt/remi/php72/log/php-fpm/www-error.log
    Does someone know tell me why? Thank you!

    Thread Starter diegpl

    (@diegpl)

    And /var/opt/remi/php72/log/php-fpm/www-error.log keep recording even after define( ‘WP_DEBUG’, false ); is set.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wp_debug not working’ is closed to new replies.