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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Tirane (GMT+02:00)

Tagged: 

This topic contains 22 replies, has 2 voices.

Last updated by Marsel Nikolli 6 months, 2 weeks ago.

Assisted by: Marsel Nikolli.

Author Posts
July 1, 2024 at 8:14 am #15866524

T4ng

Hi,
Sorry for the delay.
We should provide you with a full trace by tomorrow.

Thanks for your patience.

July 1, 2024 at 8:20 am #15866542

Marsel Nikolli

Hi,

Thank you for the update.

Looking forward to your reply,
Marsel

July 2, 2024 at 2:12 pm #15876242

T4ng

Hi Marsel,

This is the code we added to class-wp-translation-controller.php, to get more bug details.

public function load_file( string $translation_file, string $textdomain = 'default', string $locale = null ): bool {
if ( null === $locale ) {
$locale = $this->current_locale;
}
if ( empty($translation_file) ) {
ob_start();
debug_print_backtrace();
$contents = ob_get_contents();
ob_end_clean();
error_log( '----------- $locale ------------' );
error_log( "----------- " . $locale . " ------------" );
error_log( '----------- $textdomain ------------' );
error_log( "----------- " . $textdomain . " ------------" );
error_log( '----------- $translation_file ------------' );
error_log( "----------- " . $translation_file . " ------------" );
error_log( '----------- debug_print_backtrace ------------' );
error_log( $contents );
}
$translation_file = realpath( $translation_file );

if ( false === $translation_file ) {
return false;
}

Now, here is what we get: https://pastebin.com/PMuFk1pZ

This happens on every page where WordFence is called.
On the 6th PHP message from the PasteBin, you'll see that there's nothing (an empty string char) where a .MO file should be delivered.

A thought - Could this be related with WordFence not allowing any file to be created in its folder?

July 2, 2024 at 2:56 pm #15876443

Marsel Nikolli

Hi,

Thank you for the information, I've passed it on to the team.
I'll let you know as soon as I have an update.

Regards,
Marsel

July 5, 2024 at 11:17 am #15898166

T4ng

Hi,
Any chance you had a look at these logs?

Thanks

July 5, 2024 at 4:09 pm #15899439

Marsel Nikolli

Hi,

I'm still waiting on feedback from the 2nd tier support team, I'll update you as soon as I have news.

Kind regards,
Marsel

July 10, 2024 at 8:16 am #15926448

T4ng

Hi,
We're still waiting for your input.
Can you maybe ask again?

Thank you

July 11, 2024 at 8:54 am #15933610

Marsel Nikolli

Hi,

The 2nd tier support team is requesting a copy of your website to troubleshoot further the issue.

Please use the Duplicator plugin(https://wordpress.org/plugins/duplicator/) to create a copy of your website and upload the backup on a file-sharing website (Google Drive, Dropbox, etc.), please send me the link to download the backup afterward.

* You can minimize the size of the backup file by excluding unnecessary media files or backup folders that might be in the "/wp-content/" folder.

I’ve set your next reply as private so you can provide the backup link.

Thank you,
Marsel

The topic ‘[Closed] Multiple open_baserdir warnings’ is closed to new replies.