Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #778410

    Hello,

    when moving to a single product page for woocommerce with enfold, we get the error Missing argument 3 for avia_woocommerce_gallery_thumbnail_description(), called in /www/htdocs/(...)/wp-includes/plugin.php on line 235 and defined in /www/htdocs/(...)/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
    You can see for yourself on the link I will attach in private content.
    Please share advice on how to tackle this issue.

    Have a nice weekend and thanks in advance!

    #778433

    Hello,
    I have the same problem …

    #778444

    I found the solution in another thread. I copied following into my fucnctions.php child theme. It works perfect!

    /*
    Woocommerce 3.0.0 Compatibility Fix
    Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
    */
    global $woocommerce;
    if( version_compare( $woocommerce->version, ‘3.0.0’, “>=” ) ) {
    function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
    return $img;
    }
    function avia_woocommerce_post_thumbnail_description($img, $post_id){
    return $img;
    }
    }

    #778454

    Hi,
    Thank you for sharing your solution, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘"Missing argument 3 for(…)" error on Single item Shop page’ is closed to new replies.