Multilingual with qTranslate-X or XT
-
Hello,
I´m using Lay ThemeVersion: 2.8.2 and WordPress 5.2.3. Tried both versions of qTranslate but they do not work. I can translate the title of an page and the languageswich changes that in the frontend but all gridder content is unaffected – it does not switch in the backend. The URL switch is working as well.
Update: I managed to get qTranslate-X to work but now I get this error in the backend:
Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php on line 286Warning: Cannot modify header information - headers already sent by (output started at /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php:286) in /kunden/505778_96160/webseiten/wp-includes/pluggable.php on line 1251Warning: Cannot modify header information - headers already sent by (output started at /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php:286) in /kunden/505778_96160/webseiten/wp-includes/pluggable.php on line 1254And this in the frontend (flashing before the page is loaded):
Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php on line 286Any Idea what I can do?
Thank you!
-
Hello,
I´m using Lay ThemeVersion: 2.8.2 and WordPress 5.2.3. Tried both versions of qTranslate but they do not work. I can translate the title of an page and the languageswich changes that in the frontend but all gridder content is unaffected – it does not switch in the backend. The URL switch is working as well.
Update: I managed to get qTranslate-X to work but now I get this error in the backend:
Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php on line 286Warning: Cannot modify header information - headers already sent by (output started at /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php:286) in /kunden/505778_96160/webseiten/wp-includes/pluggable.php on line 1251Warning: Cannot modify header information - headers already sent by (output started at /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php:286) in /kunden/505778_96160/webseiten/wp-includes/pluggable.php on line 1254And this in the frontend (flashing before the page is loaded):
Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /kunden/505778_96160/webseiten/wp-includes/class-wp-hook.php on line 286Any Idea what I can do?
Thank you!
found a solution here: https://wordpress.org/support/topic/problem-with-php-7-1-2/#post-8908632
You will find it in qtranslate-x/qtranslate_frontend.php
In line 523 change
function qtranxf_postsFilter($posts,&$query) {//WP_Query
to
function qtranxf_postsFilter($posts,$query) {//WP_Query
and in line 597 change
function qtranxf_excludeUntranslatedPosts($where,&$query) {//WP_Query
to
function qtranxf_excludeUntranslatedPosts($where,$query) {//WP_Query
-
-
Dear @John
we will look into this as well.
There seems to be some issues with this plugin.Best!
Marius
-
Hey you need to use an older php version to have qtranslate work :/
Yea I need to think about how to handle multilanguage in the future -
Hey you need to use an older php version to have qtranslate work :/
Yea I need to think about how to handle multilanguage in the future@arminunruh this would be super nice! <3
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login