{"id":18924894,"date":"2026-06-01T10:11:59","date_gmt":"2026-06-01T10:11:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/multisite-bug-13\/"},"modified":"2026-06-01T10:11:59","modified_gmt":"2026-06-01T10:11:59","slug":"multisite-bug-13","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/multisite-bug-13\/","title":{"rendered":"Multisite bug"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Tutor LMS activates and works correctly on a standard single-site WordPress installation in the exact same hosting environment.<br \/>However, when activated on a WordPress Multisite network, the admin area crashes with a fatal error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br \/><strong>What I have tested:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1   Created a fresh WordPress Multisite installation (subdomain mode).<br \/>2   Installed Tutor LMS.<br \/>3   Activated Tutor LMS on a subsite.<br \/>4   Admin area immediately crashed.<br \/>5   Tested Network Activation as well.<br \/>6   Same result.<br \/>7   Installed Tutor LMS on a separate single-site WordPress installation using the same hosting environment, PHP version, database version and server.<br \/>8   Plugin activated successfully with no errors and no warnings in the logs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This leads me to believe the issue is specifically related to WordPress Multisite support. According to this thread :https:\/\/wordpress.org\/support\/topic\/multisite-support-410\/ , it should support multisite.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Some of errors in error log:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WordPress database error:<br \/><br \/>Table 'vozo6565_wp337.wp6c_2_wp6c_users' doesn't exist<br \/><br \/>SELECT COUNT(*) as total_count<br \/>FROM wp6c_2_tutor_orders o<br \/>INNER JOIN wp6c_2_wp6c_users u ON o.user_id = u.ID<br \/>WHERE payment_status = 'unpaid' AND order_type = 'single_order'<br \/><br \/>PHP Fatal error:<br \/>Uncaught Exception:<br \/>Table 'vozo6565_wp337.wp6c_2_wp6c_users' doesn't exist<br \/><br \/>Location:<br \/>wp-content\/plugins\/tutor\/helpers\/QueryHelper.php:1134<br \/><br \/>WordPress database error:<br \/><br \/>Can't create table wp6c_2_tutor_coupon_usages<br \/><br \/>CONSTRAINT fk_tutor_coupon_usage_user_id<br \/>FOREIGN KEY (user_id)<br \/>REFERENCES wp6c_2_users(ID)<br \/><br \/>errno: 150 \"Foreign key constraint is incorrectly formed\"<br \/><br \/>WordPress database error:<br \/><br \/>Can't create table wp6c_2_tutor_carts<br \/><br \/>CONSTRAINT fk_tutor_cart_user_id<br \/>FOREIGN KEY (user_id)<br \/>REFERENCES wp6c_2_users(ID)<br \/><br \/>errno: 150 \"Foreign key constraint is incorrectly formed\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks in advance!<\/p>\n","protected":false},"template":"","class_list":["post-18924894","topic","type-topic","status-publish","hentry","topic-tag-multisite"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18924894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18924894\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18924894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}