Issue on Multisite with WPML
-
I love your plugin and we use it for some mini-snippets in our multisite environment. We recently encountered a problem:
1. We setup a new blank site, activate WPML.
2. We added one snippet and found it’s not working (which was working in another subsite of the same network).
3. We checked the debug.log under /wp-content and we found this error:
WordPress database error Illegal mix of collations for operation 'UNION' for query SELECT id, code FROM wp_49_snippets WHERE active=1 AND (scope=0 OR scope=2) UNION ALL SELECT id, code FROM wp_ms_snippets WHERE active=1 AND (scope=0 OR scope=2) /* From [tjc.org/eastbayint/] in [/nas/content/live/tjcorg/wp-content/plugins/code-snippets/php/snippet-ops.php:496] */ made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, execute_active_snippets
4. We checked the tables in DB, the collation of wp_ms_snippets is utf8mb4_unicode_ci, but the collation of wp_49_snippets is utf8mb4_unicode_520_ci.How do we fix this issue?
Thanks!The page I need help with: [log in to see the link]
- The topic ‘Issue on Multisite with WPML’ is closed to new replies.