How can I fix this?
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description(), called in /www/htdocs/w00d6ce9/xxx.com/wp-includes/class-wp-hook.php on line 288 and defined in /www/htdocs/w00d6ce9/xxx.com/wp-content/themes/enfold-child/functions.php on line 46
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description(), called in /www/htdocs/w00d6ce9/xxx.com/wp-includes/class-wp-hook.php on line 288 and defined in /www/htdocs/w00d6ce9/xxx.com/wp-content/themes/enfold-child/functions.php on line 46
I have already disabled all plugins, I added this code at the buttom of the functions.php
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;
}
}
and I have no Updates available. You are running the latest version! (4.5.2)
Any Ideas?
Can someone guide me how to get help?
Hi,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
Hi,
Thanks for the login details. Why exactly do you need that function you pasted in your first post? What happens if you comment it out or remove it?
Also, please try to update to the latest version of the theme (4.6.3.1): https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update
Best regards,
Rikard
