Multisite support has bugs
-
Hi,
the plugin has bugs in multisite support related to blog prefix and dbDelta schema cleanup.
What the bug does:
It hides your patterns in the appearances -> patterns because it generates an error when WordPress is asking patterns from the server. if this happens, you cannot use your own patterns in new pages etc.
Below is an example what the bug does:
[04-Aug-2026 14:49:05 UTC] PHP Fatal error: Uncaught Exception: Table ‘wordpress.wp_7_wp_users’ doesn’t exist in /var/www/html/wp-content/plugins/tutor/helpers/QueryHelper.php:1156 Stack trace: #0 /var/www/html/wp-content/plugins/tutor/models/OrderModel.php(1004): Tutor\Helpers\QueryHelper::get_joined_count() #1 /var/www/html/wp-content/plugins/tutor/ecommerce/AdminMenu.php(42): Tutor\Models\OrderModel->get_order_count() #2 /var/www/html/wp-includes/class-wp-hook.php(341): Tutor\Ecommerce\AdminMenu->register_menu() #3 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /var/www/html/wp-content/plugins/tutor/classes/Admin.php(245): apply_filters() #5 /var/www/html/wp-includes/class-wp-hook.php(341): TUTOR\Admin->register_menu() #6 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #7 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action() #8 /var/www/html/wp-admin/includes/menu.php(168): do_action() #9 /var/www/html/wp-admin/menu.php(441): require_once(‘…’) #10 /var/www/html/wp-admin/admin.php(163): require(‘…’) #11 /var/www/html/wp-admin/plugins.php(10): require_once(‘…’) #12 {main} thrown in /var/www/html/wp-content/plugins/tutor/helpers/QueryHelper.php on line 1156I do not know what effect the delta error has but it is also easy fix in the code.
How to fix the pattern error:
i have made fixes for the plugin to fix the issue and I will deliver the fixes to the support of the plugin. I hope they will fix this to their next update of the plugin.
QUESTION: Are you going to fix these errors in the next update?
How to temporary avoid the problem:
- Deactivate the plugin temporary
- Create your patterns
- Add your pattern at least to one page
- Activate the plugin again
- Copy the pattern from one page to pages you want to use it
You must be logged in to reply to this topic.