이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
생성한 포럼 주제
| 상태 |
주제
|
지원자 | 의견 | 게시물 | 최신 활동 |
|---|---|---|---|---|---|
|
WPML Not working
1
2
시작: abm-ashabulH
카테고리: English Support
Problem: wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/classes/page_routes.php . init() method, add an early return for AJAX requests to prevent route/page generation and rewrite flushing during admin-ajax. Replace: public function init() {with: public function init() {<br />if (wp_doing_ajax()) {<br />// WPML - No routes/pages generation and no rewrite flushing during admin-ajax.<br />return;<br />}3. Optionally, to reduce the frequency of flush_rewrite_rules, modify it to run only once by replacing: flush_rewrite_rules(true); in two places with: update_option('stm_lms_routes_needs_flush', 1, false);and add at the end of the file: add_action('admin_init', function () {<br />if (get_option('stm_lms_routes_needs_flush')) {<br />delete_option('stm_lms_routes_needs_flush');<br />flush_rewrite_rules(true);<br />}<br />});This solution is a workaround. A long-term fix should come from the MasterStudy LMS team. We will contact them to discuss this issue, but you can also reach out to them to expedite the process. Please note that this solution might be irrelevant if it's outdated or not applicable to your case. 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 the issue persists, please open a new support ticket at WPML support forum. |
|
0 | 20 | 3 주, 1 일 전에 | |
|
WPML Not working
시작: abm-ashabulH 카테고리: English Support |
|
0 | 7 | 3 주, 5 일 전에 |