• Resolved marymidori

    (@marymidori)


    I came across the following warning when I installed Qtranslate X.

    Warning: Missing argument 3 for qtranxf_get_attachment_image_attributes() in qtranslate_frontend.php line 182

    It was fixed by including the wp get attachment image() default values to the function qtranxf_get_attachment_image_attributes().

    function qtranxf_get_attachment_image_attributes($attr=array(), $attachment, $size='thumbnail')
    in qtranslate_frontend.php line 182

    I thought this might be useful for others in the next update, if it doesn’t cause other problems.

    Thanks

    https://www.ads-software.com/plugins/qtranslate-x/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning: Missing argument 3 for qtranxf_get_attachment_image_attributes()’ is closed to new replies.