Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #799844

    When accessing single products i am receiving the following errors:

    Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /home/content/p3pnexwpnas04_data03/74/4096974/html/wp-content/themes/enfold-child/functions.php on line 21

    Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home/content/p3pnexwpnas04_data03/74/4096974/html/wp-content/themes/enfold-child/functions.php on line 21

    I have updated to the most recent theme update as well as woocommerce. I added the code from other posts to get the images to not be blurry, but am still receiving this error.

    Please advise. Login information given.

    #799855

    Hey kprice2690,

    I have tried to login but the login details doesn’t seem to work.
    Can you check functions.php and if you can find this code please try to remove:

    global $woocommerce;
    if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) {
    
    	add_theme_support( 'wc-product-gallery-zoom' );
      add_theme_support( 'wc-product-gallery-lightbox' );
    
    	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;
    	}
    
    }

    Hope this helps :)

    Best regards,
    Nikko

    #799857

    I have removed this code. I only added it based on reading other posts and that was suggested to fix the blurred image problem.

    Ive submitted updated login details. Sorry about that.

    #799861

    Hi,

    Yes, that was a fix/workaround for Enfold 4.0.5, but with 4.0.7 that code should be removed. Kindly remove it and check it the images :)

    Best regards,
    Nikko

    #799862

    Images look fine, but i am still receiving the errors in my original message.

    #799863
    #799881

    Hi,

    I have accessed your site and I have commented out the code I told you to remove (so php will just skip it). And flushed out the cache in godaddy (in the admin bar). Let us know if it’s good on your end also :)

    Best regards,
    Nikko

    #800148

    Ah! I removed from the child file, not the parent! Sorry about that…That was my oops! let me check out the site.

    #800149

    Okay, that looks better on my end of things. Is this code automatically in the files now after the woo and enfold updates?

    #800158

    Actually, the images are showing blurry again. After i restarted my browser i noticed it.

    #800179

    Please ignore my last comment – I was looking at the live site instead of the testing site that i had you look at. This piece seems to be resolved.

    thank you!!

    #800354

    Hi,

    You’re very much welcome. Glad we could help! Thanks for using Enfold :)

    Best regards,
    Nikko

    #801274

    Hi Nikko – I’m having the same problem. I haven’t added in extra code (although I did read that there was a problem with a previous version of enfold on one of the forums). I’m not sure why this is happening? Please can you assist?
    Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home/f0622300/public_html/wp/wp-content/themes/enfold/config-woocommerce/config.php on line 1360

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

    #801300

    Hi,

    Ensure that you`re using the latest version of the Enfold.

    Best regards,
    John Torvik

    #801406

    Hi John. I am using the latest version of Enfold as far as I know? I bought it in February 2017

    #801430

    Hi,

    The latest version of Enfold is 4.0.7, can you give us temporary admin access (the one you gave didn’t have a username). :)

    Best regards,
    Nikko

    #801440

    DM’d you the login info

    #801451

    Hi,

    Thanks for providing the temporary admin access, I have checked the version of your Enfold and it’s still 3.8.5. You need to update it to the latest version as John said. You can refer to this post on how to update it: http://kriesi.at/archives/the-complete-guide-to-updating-enfold
    Please don’t forget to backup your site first before updating :)

    Best regards,
    Nikko

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