Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter ozerik

    (@ozerik)

    This problem is not a translate. But it seems ion home page.

    Plugin Author John Clause

    (@johnclause)

    Yes, ‘wp_get_attachment_image_attributes’ filter is supposed to have 3 arguments. The relevant documentation is in https://codex.www.ads-software.com/Function_Reference/wp_get_attachment_image
    and line 737 in

    Does it work ok for you after fixing home page?

    Hello

    I get issue with qtranslate

    I activated the Cloudflare SSL and when I choose FR language I get it as

    https://www.mywebsite.com/fr/

    but when I go to any page the link returns as it was https://www.mywebsite.com

    please help me

    Thread Starter ozerik

    (@ozerik)

    Thank you very much John. I added $size my media.php file in line 725.

    Plugin Author John Clause

    (@johnclause)

    Hi @masterdz: I am not sure how your topic is related to the original problem discussed in this thread, is it? What makes you think that this is related to qTranslate-X? More details would be nice to know. In qTranslate-X, do you use “qTranslate Services”? If you do, could you try to turn it off and see if problem is still there? Thanks.

    Plugin Author John Clause

    (@johnclause)

    @ozerik: if it works for you, it is fine, but I would not modify WP files, since you will have to redo the changes every time they update WordPress.

    I would find where it is coming from with wrong argument, probably somewhere in your theme (which one, BTW?), then fix it there, and ask theme developers to fix it permanently for the next update. There is nothing wrong with media.php itself to fix at this point. But it is up to you, if it works for you.

    Thanks a lot for your feedback!

    Thread Starter ozerik

    (@ozerik)

    Sorry @john Clause I fixed the problem ??

    Plugin Author John Clause

    (@johnclause)

    @ozerik: To add the turkish to the defaults I need “Language Name” (like “Turkish”) and “Not Available Message”, like “Sorry, this entry is only available in %LANG:, : and %.” in turkish, as well as Date and Time Format. If you already configured your installation for Turkish, you should have those already, please, send it to me.

    Could you also send me your theme, so that I can test? I do not wish to spend money for simple testing. I promise to delete it after I am done. You can send the zip file to qtranslateteam at g mail d com.

    Thanks a lot.

    Hi John Clause,
    I am getting the error on the blog page
    https://hbzhonghang.com/pub/blog/
    Warning: Missing argument 3 for qtranxf_get_attachment_image_attributes() in /home2/somitra/public_html/hbzhonghang.com/pub/wp-content/plugins/qtranslate-x/qtranslate_frontend.php on line 71

    Can you please help me in removing i was not able to figure out.

    Thanks a ton in advance for this useful plugin

    Ok guys i removed it myself it was from /wp-includes/media.php
    by adding attr “$size” (without quotes) in get_attachment_image_attributes

    where it says
    /**
    * Filter the list of attachment image attributes.
    *
    * @since 2.8.0
    *
    * @param mixed $attr Attributes for the image markup.
    * @param int $attachment_id Image attachment ID.
    */

    Thanks guys thanks a lot

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘qtranslate_frontend.php on line 71’ is closed to new replies.