• jpgerencser0129

    (@jpgerencser0129)


    The Point Statistics admin screen renders raw Vue template placeholders and never loads any data.

    Environment: MasterStudy LMS 3.7.44 (free) + MasterStudy LMS PRO 4.4.24, WordPress on WordPress.com Atomic.

    What happens: on admin.php?page=point_system_statistics the table shows literal template markup such as {{user[‘data’][‘user_login’]}} and {{user[‘data’][‘lms_data’][‘points’]}}, with a permanent “Loading…” state. No data ever appears.

    Cause: the page enqueues /wp-content/plugins/masterstudy-lms-learning-management-system/_core/assets/js/point_admin_stats.js?ver=3.7.44 and that URL returns 404. It is the only failing request out of 253 scripts on the page. Because the script never loads, the Vue app never mounts and no AJAX request is fired (zero admin-ajax calls on page load). There are no JavaScript console errors, which makes this easy to miss.

    The file appears to be absent from the shipped package rather than from my install. It is not in trunk/_core/assets/js/ in the plugin SVN repo (rev 3663985), not in trunk/_core/assets/js/admin/ either, and not anywhere I could probe in the PRO plugin directory. Reinstalling the plugin therefore does not fix it. This looks like either a packaging omission or an enqueue pointing at the wrong path.

    The data layer is fine. Calling the stm_lms_get_point_users AJAX action directly returns correct point totals for all users, so only the admin UI is affected.

    Could you confirm whether point_admin_stats.js is supposed to ship in the free plugin or in PRO, and what the correct path should be? Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.