qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
553 stars 104 forks source link

WBR: Page Widget not translating a page in widget #1408

Open antomor2 opened 4 months ago

antomor2 commented 4 months ago

Describe the bug in widget WBR: Page Widget page shows with all languages and with markers [:en]... I update Wordpress and PHP and receive this bug.

To Reproduce

Expected behavior Page in widget WBR: Page Widget must be displayed in the selected language

Screenshots

Debug info Go to <YOUR_SITE>/wp-admin/options-general.php?page=qtranslate-xt#troubleshooting. Press Collect information button and copy/paste the output below.

Versions [REQUIRED!] ...
{
  "PHP_VERSION": "8.3.0",
  "WP_VERSION": "6.5.2",
  "QTX_VERSION": "3.15.2",
  "Plugins": [
    "TablePress 2.3",
    "All in One SEO 4.6.1.1",
    "Autoptimize 3.1.11",
    "Calculator Builder | CalcHub 1.5.6",
    "Chaty 3.2.2",
    "Classic Widgets 0.3",
    "Debug Bar 1.1.6",
    "DT World Clock 1.8",
    "Enable Gzip Compression 1.0.3",
    "FooBox Image Lightbox 2.7.27",
    "GA Google Analytics 20240308",
    "qTranslate-XT 3.15.2",
    "Розширені інструменти редактора 5.9.2",
    "Ultimate Responsive Image Slider - 3.5.14 3.5.14",
    "Widget Logic 5.10.4"
  ]
}
Configuration [If applicable] ...
{
  "default_language": "ua",
  "enabled_languages": [
    "ua",
    "en",
    "ru"
  ],
  "locale": {
    "ua": "uk",
    "en": "en_US",
    "ru": "ru_RU"
  },
  "date_format": {
    "ua": "%A %B %e%q, %Y",
    "en": "%A %B %e%q, %Y",
    "ru": "%A %B %e%q, %Y"
  },
  "time_format": {
    "ua": "%H:%M",
    "en": "%I:%M %p",
    "ru": "%H:%M"
  },
  "url_mode": 2,
  "use_strftime": 3,
  "filter_options_mode": 0,
  "language_name_case": 0,
  "detect_browser_language": true,
  "hide_untranslated": false,
  "show_menu_alternative_language": false,
  "show_displayed_language_prefix": true,
  "show_alternative_content": true,
  "hide_default_language": true,
  "use_secure_cookie": false,
  "header_css_on": true,
  "text_field_filters": [],
  "disable_client_cookies": false,
  "url_info": {
    "cookie_lang_front": "en",
    "cookie_lang_admin": "ua",
    "cookie_front_or_admin_found": true,
    "scheme": "https",
    "host": "xiruim-farm.net",
    "path": "/wp-admin/admin-ajax.php",
    "query": "action=admin_debug_info",
    "path-base": "",
    "wp-path": "/wp-admin/admin-ajax.php",
    "language_neutral_path": true,
    "http_referer": "https://xiruim-farm.net/wp-admin/options-general.php?page=qtranslate-xt",
    "referer_admin": true,
    "doing_front_end": false,
    "lang_cookie_admin": "ua",
    "lang_admin": "ua",
    "language": "ua",
    "set_cookie": false
  },
  "language": "ua",
  "editor_mode": 0,
  "highlight_mode": 1,
  "auto_update_mo": true,
  "hide_lsb_copy_content": false,
  "lsb_style": "simple-buttons.css",
  "config_files": [
    "./i18n-config.json"
  ],
  "custom_fields": [],
  "custom_field_classes": [],
  "post_type_excluded": [],
  "admin_enabled_modules": {
    "all-in-one-seo-pack": true,
    "acf": false,
    "events-made-easy": false,
    "jetpack": false,
    "google-site-kit": false,
    "gravity-forms": false,
    "woo-commerce": false,
    "wp-seo": false,
    "slugs": false
  },
  "translator": {},
  "qtrans_compatibility": false
}
Browser [If applicable] ...
{
  "cookies": [],
  "navigator": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0",
  "Javascript built-in RegExp: @@split": "supported"
}

Additional context Add any other context about the problem here. If you are using the master branch instead of a stable release, please provide also the reference commit.