-
AuthorPosts
-
April 18, 2017 at 11:09 am #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
April 18, 2017 at 6:27 pm #779539Hey 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,
NikkoApril 18, 2017 at 7:47 pm #779601Here 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, 8 months ago by endanight.
April 19, 2017 at 9:27 am #779852i have the same problem on my site, what can i do?
- This reply was modified 7 years, 8 months ago by Karl.
April 20, 2017 at 1:27 am #780234I’m having the same problem as well…
April 20, 2017 at 11:54 am #780477Hi,
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ünterApril 20, 2017 at 4:04 pm #780607Ok, thank you, now it works perfectly … oder wie man bei uns sagt: es funktioniert :-)
April 20, 2017 at 10:27 pm #780843Hi,
Glad to hear that it’s working fine now. Thanks for using Enfold :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.