Skip to content Skip to sidebar

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.

This topic contains 22 replies, has 4 voices.

Last updated by Prosenjit Barman 1 year, 11 months ago.

Assisted by: Prosenjit Barman.

Author Posts
August 23, 2023 at 11:07 pm #14280839

christosG-8

Hello Prosenjit,
Here are the news:
After running a full backup I proceeded with the installation of WPML, WPML String translation and Muiltilingual CPT.
The first ones installed but during the last one the installation hanged. I waited for 30 minutes and then tried to load the backend. I got the same error as before. I restarted the server and after the reboot I got the message "Error establishing database connection", which meant I got a corrupted database.
I restored from backup and after that, the site was OK again. I tried several different approaches and had similar outcomes.
In order to debug the problem, it might be necessary to connect to my computer and manage the server with terminal. I currently am on vacations, but I will be at the officein Monday.
It would be convenient for me to get you connected anytime from 13.00-18.00.

If we do not manage to solve the problem, can I only run WPML without the string translator and Multilingual CPT ?

Thanks
Dimitris

August 23, 2023 at 11:27 pm #14280873

christosG-8

New update:
With only WPML installed, I finished the WPML configuration (added English as 2nd language to my site - the main language is Greek), chose manual translation and added my account as the translator.
I tried to translate the Main Page, but when I pressed the "Translate" button I got the error you can see in the grab below

Screenshot 2023-08-24 022706.png
August 24, 2023 at 4:58 am #14281393

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Dimitris,

Thank you for the update. If you want to translate the ACF Fields, you will need the String Translation plugin.

However, to understand what caused the Fatal error while activating string translation and translating a page, I checked the debug log and found that the mb_ereg_replace_callback() function is undefined. It means that a PHP Extension, which is MBString[ hidden link ] is also not active on your server.

As mentioned here[ https://wpml.org/home/minimum-requirements/ ], the Multibyte String extension is required to make the String Translation plugin work. So, kindly activate this extension on your server. I hope the issue will be solved after that.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

August 24, 2023 at 2:43 pm #14286511

christosG-8

Hello Prosenjit,
I installed the required php extension and the Translate button now works!
Unfortunately whan I activate WPML-string-translation I have the same result: corrupted database.

Please help!
Dimitris

August 25, 2023 at 1:47 pm #14292277

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Dimitris.

I've checked your site and managed to activate the String Translation plugin without any issues. I didn't come across the database error you mentioned. For clarity, please check this screenshot: [ hidden link ].

If that error appears again, please clear the caches from the site and browser as well. If server-level caching is enabled, make sure to clear the caches from there as well.

Let me know if there is anything else you need help with. I will be happy to assist.

Best Regards,
Prosenjit

August 25, 2023 at 5:09 pm #14293419

christosG-8

Dear Prosenjit,
Thanks for the help!
However I still have a few problems, and I would appreciate it if you could lend a hand:
1) When I installed WPML and during the first configuration, the install program informed moy that it had created a language changing set of icons in the 1st page footer in order to change the language, but I do not see it.
2) I created a translation for the main page, but I cannot access it. Furthermore, I would like to make a different setup of the page using Elementor (i.e. without the accouncements ticker under the header) , but I did not find the way to do this.

THanks in advance,
Dimitris

August 25, 2023 at 7:22 pm #14293709

christosG-8

Latest update:
There might be something wrong with the string-translate plugin, as it is activated, but there is a message at the top saying that I need to install it!!!
I did not try to do anything, please make sure everyning is OK.

Thanks
Dimitris

Screenshot 2023-08-25 222126.png
August 28, 2023 at 3:52 am #14297077

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Dimitris,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

For clarity and organization in our discussions, we're allowed to discuss one issue per thread. I noticed that the later concerns you raised differ from the initial topic of this ticket.

To ensure that each issue gets the dedicated attention it deserves, could you kindly create a new ticket for the other issues that you've mentioned? One of our supporters will surely take your ticket and assist you accordingly. This will help us keep our discussions structured and ensure timely resolutions. Thank you for understanding this matter.

Regarding the issue with String Translation- I rechecked your site properly but couldn't find the message to activate the string translation plugin in the Plugin section or any other part of the dashboard. Since the string translation is active on your site, the message you noticed might be a result of caching issues. If any server-level caching, especially, object caching is enabled for your site, please clear them and check again.

If the String translation plugin working correctly, you can simply ignore this message by clicking on the close icon on top of the message.

Let me know if you need any further assistance with the issue you've raised in this particular ticket. I will be happy to help.

Best Regards,
Prosenjit

August 28, 2023 at 11:18 am #14300107

christosG-8

I think thtat the automatic information about the next answer to my post has a major issue, as it reports false responce times, especially during weekends.
It would be more honest to say that support is only tive during weekdays.