-
AuthorPosts
-
May 18, 2017 at 11:45 am #795809
Hello,
I have the same problem as described in other topics.
When I open an product on my web shop, I get errors like Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_descri
Please help me,the site is live.
You can see the error on example: https://dekorativne-rastline.si/trgovina/okrasni-lonci-cvetlicna-korita/cvetlicno-korito-balcony-80/
Best regards,Daniel
May 18, 2017 at 7:34 pm #796110Hey dadisk8,
You need to disable WordPress debug https://codex.wordpress.org/Debugging_in_WordPress
If you need further assistance please let us know.
Best regards,
VictoriaMay 18, 2017 at 8:30 pm #796138Hei Victoria,
the DEBUG mode is already set to false.
Any other idea?
Best regards,
DanielMay 18, 2017 at 8:33 pm #796139MAybe is the problem in functions.php ??? It looks like:
// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED – Do not modify or remove comment markers above or below:
function overwrite_language_file_child_theme() {
$lang = get_stylesheet_directory().’/lang’;
return $lang;
}
add_filter(‘ava_theme_textdomain_path’, ‘overwrite_language_file_child_theme’);// END ENQUEUE PARENT ACTION
/*
Woocommerce 3.0.0 Compatibility Fix
Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
*/
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;
}
}May 18, 2017 at 8:37 pm #796140I deleted the code under the “// END ENQUEUE PARENT ACTION” and now it works fine. But is this OK what I have done or was this a bad idea?
Best regards,
DanielMay 19, 2017 at 6:41 am #796347Hi Daniel,
Thanks for the feedback. If the code does what you want it to do then I don’t see any problems with it :-)
Best regards,
RikardMay 19, 2017 at 2:02 pm #796581Hi Rikard,
thank you for the reply.
Have a nice day,
DanielMay 19, 2017 at 9:40 pm #796794Hi,
Let us know if you need more assistance or if we can close this thread :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.