Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #779183

    Hi, After updated woocommerce and I have now this issue:

    Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home1/endanigh/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 1360

    Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /home1/endanigh/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 1360

    What can I do?

    Thanks

    #779539

    Hey endanight,

    Can you give us ftp access and your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.

    Best regards,
    Nikko

    #779601

    Here is the code the line 1360 is below:

    if(!function_exists(‘avia_woocommerce_gallery_thumbnail_description’))
    {
    add_filter(‘woocommerce_single_product_image_thumbnail_html’,’avia_woocommerce_gallery_thumbnail_description’, 10, 4);

    This is the line1360:

    function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class )
    {
    $image_link = wp_get_attachment_url( $attachment_id );

    if(!$image_link) return $img;

    $image = wp_get_attachment_image( $attachment_id, apply_filters( ‘single_product_small_thumbnail_size’, ‘shop_thumbnail’ ) );
    $image_title = esc_attr(get_post_field(‘post_content’, $attachment_id));

    $img = sprintf( ‘%s‘, $image_link, $image_class, $image_title, $image );

    return $img;
    }
    }

    • This reply was modified 7 years, 7 months ago by endanight.
    #779852

    i have the same problem on my site, what can i do?

    • This reply was modified 7 years, 7 months ago by Karl.
    #780234

    I’m having the same problem as well…

    #780477

    Hi,

    Please update to the latest version of Enfold 4.0.5.

    This should fix the problem.

    The code you are refering to must be of an old version of Enfold (because the line numbers are not correct).

    Best regards,
    Günter

    #780607

    Ok, thank you, now it works perfectly … oder wie man bei uns sagt: es funktioniert :-)

    #780843

    Hi,

    Glad to hear that it’s working fine now. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.