Title: Multisite issue
Last modified: September 8, 2025

---

# Multisite issue

 *  [tkachovmaxim](https://wordpress.org/support/users/tkachovmaxim/)
 * (@tkachovmaxim)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/multisite-issue-65/)
 * Hi,
   Polylang support advised me to reach out to you regarding this issue. I just
   wanted to duplicate the information about the problem here for your reference
   [https://wordpress.org/support/topic/multisite-issue-64/#post-18632201](https://wordpress.org/support/topic/multisite-issue-64/#post-18632201)
 * The issue appeared in version 3.7, and translation strings are no longer displaying
   correctly.
 * After investigating, here’s what I found:
   `$settings = Polylang_Theme_Translation_Settings::
   getInstance()` returns the wrong settings, because it always pulls from **blog_id
   = 1**, while I’m actually on **blog_id = 2**.
 * The problem seems to come from the global `$wpdb` variable. It doesn’t switch
   to the correct blog, so `$wpdb->options` always points to `wp_options` instead
   of `wp_2_options` when trying to fetch the settings.
 * I suspect `switch_to_blog()` (and `restore_current_blog()`) might be involved
   and not being used correctly anymore.
 * Could you please check your commits to see where this behavior might have been
   introduced in 3.7?

The topic ‘Multisite issue’ is closed to new replies.

 * ![](https://ps.w.org/theme-translation-for-polylang/assets/icon-256x256.png?rev
   =1431912)
 * [Theme and plugin translation for Polylang (TTfP)](https://wordpress.org/plugins/theme-translation-for-polylang/)
 * [Support Threads](https://wordpress.org/support/plugin/theme-translation-for-polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-translation-for-polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-translation-for-polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-translation-for-polylang/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tkachovmaxim](https://wordpress.org/support/users/tkachovmaxim/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/multisite-issue-65/)
 * Status: not resolved