Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 16 replies, has 2 voices.

Last updated by nicklasL-3 1 day, 16 hours ago.

Assisted by: Mateus Getulio.

Author Posts
October 29, 2024 at 3:49 pm
October 29, 2024 at 9:17 pm #16344281

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Just to confirm, you mentioned the issue with the duplication seemed fixed and you just wanted to disable the debug mode, correct?

I tried accessing the wp-admin dashboard but I get a 'you don't have permission to see this' error message.

Do you need help to disable the debug mode? Can you please check if the user you shared before is still valid and if there's no login hiding plugin?

I enabled the private fields again in case you need to share new details.

Thank you.
Mateus

October 29, 2024 at 9:42 pm #16344294

nicklasL-3

Hello Getulio!

Yes, for now looks like everything is ok - hopefully. Many many thanks anyway for your help!

Not so sure what the rest of the team made with the staging website today.

Could it be possible to know how to disable the debug mode in the way you made it so I can share the process and details with the team and they can proceed to do it?

Cheers.

October 30, 2024 at 12:25 pm #16347077

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Absolutely,

In order to disable it, you need to have access to the site's files via FTP or file manager.

You'll find a wp-config.php file inside the webroot of the site, download and edit it or just edit it using the built-in editor.

You'll see the following lines in the file:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
  
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
  
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
  
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

You need to replace them with and save it:

define( 'WP_DEBUG', false );

That should get the debug mode disabled.

Thank you, please let us know.

October 30, 2024 at 3:40 pm #16348206

nicklasL-3

All good thanks! Actually te code was already se as
if ( ! defined( 'WP_DEBUG' ) ) {
define( 'WP_DEBUG', false );
}

Thanks for everything Mateus! hope you'll have a great rest of the week. Ciao!