-
AuthorPosts
-
May 25, 2017 at 10:22 pm #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.
May 25, 2017 at 10:46 pm #799855Hey 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,
NikkoMay 25, 2017 at 10:52 pm #799857I 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.
May 25, 2017 at 10:54 pm #799861Hi,
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,
NikkoMay 25, 2017 at 10:56 pm #799862Images look fine, but i am still receiving the errors in my original message.
May 25, 2017 at 10:56 pm #799863May 25, 2017 at 11:28 pm #799881Hi,
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,
NikkoMay 26, 2017 at 2:26 pm #800148Ah! I removed from the child file, not the parent! Sorry about that…That was my oops! let me check out the site.
May 26, 2017 at 2:27 pm #800149Okay, that looks better on my end of things. Is this code automatically in the files now after the woo and enfold updates?
May 26, 2017 at 2:56 pm #800158Actually, the images are showing blurry again. After i restarted my browser i noticed it.
May 26, 2017 at 3:38 pm #800179Please 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!!
May 26, 2017 at 8:35 pm #800354Hi,
You’re very much welcome. Glad we could help! Thanks for using Enfold :)
Best regards,
NikkoMay 29, 2017 at 9:59 pm #801274Hi 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 1360Warning: 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
May 29, 2017 at 11:47 pm #801300Hi,
Ensure that you`re using the latest version of the Enfold.
Best regards,
John TorvikMay 30, 2017 at 9:06 am #801406Hi John. I am using the latest version of Enfold as far as I know? I bought it in February 2017
May 30, 2017 at 10:48 am #801430Hi,
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,
NikkoMay 30, 2017 at 11:03 am #801440DM’d you the login info
May 30, 2017 at 11:45 am #801451Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.