Background of the issue:
When I activate the WPML String Translation and WPML Woocommerce Multilingual plugins on my site 隐藏链接, I get a 404 error when trying to access all pages except for the homepage. For example, when the plugins are not active, I can access the About Us page in both Turkish and English without any issues. However, when I activate them, I can't access either of them. I can only access the homepage. When I check with WP_DEBUG, I see the following error: Warning: preg_replace(): Unknown modifier 'f' in /home/u427736266/domains/derminix.com.tr/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/class-wpml-endpoints-support.php on line 142
Symptoms:
404 error when trying to access all pages except for the homepage after activating WPML String Translation and WPML Woocommerce Multilingual plugins. WP_DEBUG shows: Warning: preg_replace(): Unknown modifier 'f' in /home/u427736266/domains/derminix.com.tr/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/class-wpml-endpoints-support.php on line 142
Questions:
How can I resolve the 404 error when WPML String Translation and WPML Woocommerce Multilingual plugins are active?
What does the WP_DEBUG error message mean and how can I fix it?
21 7 月, 2024 于 7:37 上午
管理 Cookie 同意
我们使用 cookies 来优化我们的网站和服务。 您的同意允许我们处理浏览行为等数据。 不同意可能会影响某些功能。
功能性
始终启用
为了我们的网站正常运行和通信所需的信息。
首选项
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.