• Tutor LMS activates and works correctly on a standard single-site WordPress installation in the exact same hosting environment.
    However, when activated on a WordPress Multisite network, the admin area crashes with a fatal error.


    What I have tested:

    1 Created a fresh WordPress Multisite installation (subdomain mode).
    2 Installed Tutor LMS.
    3 Activated Tutor LMS on a subsite.
    4 Admin area immediately crashed.
    5 Tested Network Activation as well.
    6 Same result.
    7 Installed Tutor LMS on a separate single-site WordPress installation using the same hosting environment, PHP version, database version and server.
    8 Plugin activated successfully with no errors and no warnings in the logs.

    This leads me to believe the issue is specifically related to WordPress Multisite support. According to this thread :https://ww.wp.xz.cn/support/topic/multisite-support-410/ , it should support multisite.

    Some of errors in error log:

    WordPress database error:

    Table 'vozo6565_wp337.wp6c_2_wp6c_users' doesn't exist

    SELECT COUNT(*) as total_count
    FROM wp6c_2_tutor_orders o
    INNER JOIN wp6c_2_wp6c_users u ON o.user_id = u.ID
    WHERE payment_status = 'unpaid' AND order_type = 'single_order'

    PHP Fatal error:
    Uncaught Exception:
    Table 'vozo6565_wp337.wp6c_2_wp6c_users' doesn't exist

    Location:
    wp-content/plugins/tutor/helpers/QueryHelper.php:1134

    WordPress database error:

    Can't create table wp6c_2_tutor_coupon_usages

    CONSTRAINT fk_tutor_coupon_usage_user_id
    FOREIGN KEY (user_id)
    REFERENCES wp6c_2_users(ID)

    errno: 150 "Foreign key constraint is incorrectly formed"

    WordPress database error:

    Can't create table wp6c_2_tutor_carts

    CONSTRAINT fk_tutor_cart_user_id
    FOREIGN KEY (user_id)
    REFERENCES wp6c_2_users(ID)

    errno: 150 "Foreign key constraint is incorrectly formed"

    We would appreciate any guidance, as Tutor LMS is currently our preferred LMS solution for a multi-country project requiring up to 10 site licenses.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Hi,

    Thank you for the detailed report and the testing you performed.

    After reviewing the information you shared, the issue is related to WordPress Multisite compatibility.

    At present, Tutor LMS does not officially support WordPress Multisite environments. Because of this limitation, issues such as incorrect user table references, database table creation failures, foreign key conflicts, and multisite-specific query errors can occur when Tutor LMS is activated on a network site.

    The errors you shared (such as references to wp6c_2_users / wp6c_2_wp6c_users and foreign key creation failures) are consistent with the current multisite limitations.

    For now, Tutor LMS is recommended for standard single-site WordPress installations. If your project requires a multisite architecture, we cannot guarantee stable operation or provide a supported workaround at this time.

    We understand this may affect your evaluation for a multi-country deployment, and we appreciate your interest in using Tutor LMS.

    Best regards,
    Dip Saha
    Tutor LMS Support Team

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.