Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. qTranslate-X makes my site crash

qTranslate-X makes my site crash

Scheduled Pinned Locked Moved Bug Reports
3 Posts 2 Posters 454 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tortue771
    wrote on last edited by
    #1

    Hello there ! Thanks for an awesome theme that I loved playing with the past few years.

    I recently lost access to /wp-admin/ after a Wordpress update. The problem seems to be the qTranslate-X extension.
    At first the website continued to function, but now that I deactivated it I have the two languages superposed:
    https://oraarchitecte.com
    Capture d’écran 2022-06-22 à 17.57.18.png

    I have created the website 3 years ago when this extension used to be recommended. I now see that Polylang is the recommended extension.

    Is there a way to fix this ? Or migrate all my translations and customized content from qTranslate-X to Polylang (or qTranslate-XT maybe ?)? Or do I have to restart from scratch, install Polylang and rebuild everything.

    Here is the error log:

    Une erreur de type E_ERROR a été causée dans la ligne 783 du fichier /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-content/plugins/qtranslate-x/admin/qtx_admin.php. Message d’erreur : Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-content/plugins/qtranslate-x/admin/qtx_admin.php:783 Stack trace: #0 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-content/plugins/qtranslate-x/admin/qtx_admin.php(783): strpos() #1 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-hook.php(307): qtranxf_get_terms_args() #2 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/plugin.php(191): WP_Hook->apply_filters() #3 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-term-query.php(407): apply_filters() #4 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-term-query.php(307): WP_Term_Query->get_terms() #5 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-tax-query.php(645): WP_Term_Query->query() #6 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-tax-query.php(580): WP_Tax_Query->transform_query() #7 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-tax-query.php(394): WP_Tax_Query->clean_query() #8 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-tax-query.php(324): WP_Tax_Query->get_sql_for_clause() #9 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-tax-query.php(274): WP_Tax_Query->get_sql_for_query() #10 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-tax-query.php(250): WP_Tax_Query->get_sql_clauses() #11 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-query.php(2159): WP_Tax_Query->get_sql() #12 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-query.php(3586): WP_Query->get_posts() #13 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/post.php(2410): WP_Query->query() #14 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/post.php(3939): get_posts() #15 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-theme-json-resolver.php(285): wp_get_recent_posts() #16 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-theme-json-resolver.php(323): WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles() #17 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-theme-json-resolver.php(387): WP_Theme_JSON_Resolver::get_user_data() #18 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/script-loader.php(3076): WP_Theme_JSON_Resolver::get_merged_data() #19 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/script-loader.php(3272): {closure}() #20 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-hook.php(307): {closure}() #21 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #22 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #23 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-settings.php(620): do_action() #24 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-config.php(78): require_once('...') #25 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-load.php(50): require_once('...') #26 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-admin/admin.php(34): require_once('...') #27 /srv/data/web/vhosts/oraarchitecte.com/htdocs/wp-admin/plugins.php(10): require_once('...') #28 {main} thrown

    Thanks in advance

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tortue771
      wrote on last edited by
      #2

      Sorry I realized I didn't do all my homework before posting here: the original version of qTranslate-X was stopped and "replaced" by a community-led extension named qTranslate-XT.

      For other people who might be in the same situation as me:
      I uploaded the latest qTranslate-XT and followed the migration guide

      This updated version of the extension allowed for converting of all my language content and my website is back to normal.

      Now I believe this might not be a long-term solution, so I looked into migration tools from qTranslate to Polylang: the only automated solution I found was migrating to WPML using this extension and then migrating to Polylang using that one. I'm not sure of the result though, as WPML doesn't seem to work well with Lay Theme (based on other posts).

      I'd be curious to have other people's feedback on this. Thanks

      1 Reply Last reply
      0
      • F Offline
        F Offline
        felix_rabe
        wrote on last edited by
        #3

        I recently used qTranslate-XT with Wordpress (without a theme) and it works superb, it even comes with an integrated woo commerce translation.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        I also code custom websites or custom Lay features.
        💿 Email me here: 💿
        info@laytheme.com

        Before you post:
        1. When using a WordPress Cache plugin, disable it or clear your cache.
        2. Update Lay Theme and all Lay Theme Addons
        3. Disable all Plugins
        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

        This often solves issues you might run into

        When you post:
        1. Post a link to where the problem is
        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
        Online Users
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search