Перейти к содержанию Перейти к боковой панели

Это форум технической поддержки WPML – плагина для многоязычной WordPress.

Доступно для чтения всем, но только клиенты, купившие WPML, могут оставлять сообщения. Сотрудники WPML отвечают на сообщения форума 6 дней в неделю, 22 часов в сутки.

Помечено: 

Эта тема содержит 1 ответ, имеет 2 голоса.

Последнее обновление: Prosenjit Barman 1 год, 11 месяцев назад.

При содействии: Prosenjit Barman.

Автор Посты
11 августа, 2023 в 10:55 дп #14187891

talgatS

Good afternoon. Please help.

Yesterday I installed and activated WPML on the site (Russian language by default) and added the Kazakh language.
Turned on automatic translation.

After that, the site allows you to download the Main page in Russian. Further, when you click on any menu item or click on the Kazakh language flag, an error message appears
(Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.).

I made a request to the hoster (server admin).

The server admins performed the following actions to make the site open:
1. Disabled the plugin by renaming the directory:
скрытая ссылка
2. Also renamed the original .htaccess file to .htaccess1. Instead, I added a standard file.
3. The pages are working, but there are a large number of errors скрытая ссылка

I'm trying to:
Clicking on any of the main menu items

Link to the page where you can see the problem:
скрытая ссылка

Instead, it turned out:
There have been many such errors.
Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /var/www/vhosts/upskills.kz/httpdocs/wp-includes/class-wp.php on line 234

Добрый день. Прошу оказать помощь.

Вчера установил и активировал WPML на сайт (русский язык по умолчанию) и добавил казахский язык.
Включил автоматический перевод.

После этого сайт даёт загрузить Главную страницу на русском языке. Далее при нажатии на любой пункт меню или нажатии на флажок казахского языка выходит сообщение об ошибке
(Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.).

Сделал запрос хостеру (админ сервера).

Админы сервера произвели следующие действия, чтобы сайт начал открываться:
1. Отключил плагин переименовав каталог:
скрытая ссылка
2. Также переименовал оригинальный файл .htaccess на .htaccess1. Вместо него добавил стандартный файл.
3. Страницы заработали, но есть большое количество ошибок скрытая ссылка

Я пытаюсь:
При нажатии на любые пункты главного меню

Ссылка на страницу, где можно увидеть проблему:
скрытая ссылка

Вместо этого, получилось:
Появилось множество таких ошибок.
Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /var/www/vhosts/upskills.kz/httpdocs/wp-includes/class-wp.php on line 234

14 августа, 2023 в 6:48 дп #14194733

Prosenjit Barman
Сторонник WPML с 03/2023

Языки: Английский (English )

Часовой пояс: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

As you've added the details in English, I'm responding in English. Please let me know if you're okay with it or want me to forward this ticket to my Russian-speaking colleague. I will be happy to do that.

I understood the issue you're having. From the Error message, it seems the issue originates from a core file of WordPress. However, kindly be informed that this issue most of the time occurs due to corruption with the permalinks structure. Please follow the steps mentioned below and check if that helps to solve the issue.

- Please go to "Settings > Permalinks"
- Set the default permalink structure, which is for %post_id% only
- Save the settings

Check if that helps to solve the issue. However, since they are Warning only, you can ignore them by disabling the WordPress debug log. Check the guide below to understand the process of disabling debug log.

- скрытая ссылка

From the screenshots you;ve shared, I can see that the Hosting provider have disabled the String translation plugin of WPML on your site? Can you please share more details about the issue that occurs when the String Translation plugin is enabled? Please share as much as information you can regarding that issue so that I can check and help you in finding a solution.

Best Regards,
Prosenjit