Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter trucosdotcom

    (@trucosdotcom)

    Hello,

    After last TranslatePress update the database optimization went well and was able to finish all the steps on all languages.

    This thread can be mark as resolved. Thanks for all.

    Thread Starter trucosdotcom

    (@trucosdotcom)

    /**
     * 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.
     *
     * For information on other constants that can be used for debugging,
     * visit the documentation.
     *
     * @link https://ww.wp.xz.cn/support/article/debugging-in-wordpress/
     */
    if ( ! defined( 'WP_DEBUG' ) ) {
    	define( 'WP_DEBUG', true );
    }
    
    define( 'WP_DEBUG_LOG', true );
    define( 'SCRIPT_DEBUG', true );
    define( 'SAVEQUERIES', true );
    define( 'WP_DEBUG_DISPLAY', false );
    /* That's all, stop editing! Happy publishing. */

    Hello,
    Just installed WP Debugging plug-in but after unsuccessfully running DB optimization three times still there’s no debug.log file in /wp-content/ folder.

    Not sure if this is the normal behaviour.

    Thanks for your continuos help in this.

    Thread Starter trucosdotcom

    (@trucosdotcom)

    Thanks for the reply @alexcozmoslabs
    I’ve removed two trp_original_strings with numbers at the end tables and tried the optimization with no luck again.

    The size of the tables is:
    name – rows- size
    djc_trp_original_strings 92,200 10.1 MiB
    djc_trp_dictionary_es_es_ca ~123,334 62.1 MiB
    djc_trp_dictionary_es_es_en_gb ~130,624 42.2 MiB
    djc_trp_dictionary_es_es_fr_fr ~63,807 26.0 MiB

    Updating TranslatePress tables
    
    Removing cdata dictionary strings for language es_ES...Done.
    
    Removing cdata dictionary strings for language en_GB...Done.
    
    Removing cdata dictionary strings for language ca...Done.
    
    Removing cdata dictionary strings for language fr_FR...Done.
    
    Removing untranslated dictionary links for language es_ES...Done.
    
    Removing untranslated dictionary links for language en_GB...Done.
    
    Removing untranslated dictionary links for language ca...Done.
    
    Removing untranslated dictionary links for language fr_FR...Done.
    
    Removing duplicated gettext strings for language es_ES...Done.
    
    Removing duplicated gettext strings for language en_GB...Done.
    
    Removing duplicated gettext strings for language ca...Done.
    
    Removing duplicated gettext strings for language fr_FR...Done.
    
    Removing untranslated gettext strings where translation is available for language es_ES...Done.
    
    Removing untranslated gettext strings where translation is available for language en_GB...Done.
    
    Removing untranslated gettext strings where translation is available for language ca...Done.
    
    Removing untranslated gettext strings where translation is available for language fr_FR...Done.
    
    Removing duplicated dictionary strings for language es_ES...Done.
    
    Removing duplicated dictionary strings for language en_GB.......................
Viewing 3 replies - 1 through 3 (of 3 total)