Người dùng này không có chủ đề yêu thích nào.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã tạo
| Trạng thái |
Chủ đề
|
Người hỗ trợ | Ý kiến | Bài viết | Mới nhất |
|---|---|---|---|---|---|
|
Unable to update on the site.
Được bắt đầu bởi: szabolcsL-2 trong: English Support |
|
0 | 5 | 5 hours, 52 minutes trước | |
|
#17528411 Reopening the ticket: Your suggestion generated additional errors. It doesn't work.
Được bắt đầu bởi: szabolcsL-2 trong: English Support |
|
0 | 5 | 1 months trước | |
|
Your site doesn't meet WPML's minimum requirements
Được bắt đầu bởi: szabolcsL-2
trong: English Support
Problem: sitepress-multilingual-cms/vendor/wpml/wpml/src/Infrastructure/WordPress/SharedKernel/Server/Application/WordPressRestApiStatus.php . // Add basic authentication if present<br /> if ( isset( $_SERVER['PHP_AUTH_USER'] ) && isset( $_SERVER['PHP_AUTH_PW'] ) ) {<br /> $args['headers']['Authorization'] =<br /> 'Basic ' . base64_encode( $_SERVER['PHP_AUTH_USER'] . ':' . $_SERVER['PHP_AUTH_PW'] );<br /> }3. Immediately after this section, add the following lines: // Add authentication from cookies<br /> $args['cookies'] = $_COOKIE; This modification should help enable the WordPress REST API and meet the WPML's minimum requirements. If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please open a new support ticket at WPML support forum. |
|
0 | 4 | 2 months, 2 weeks trước |