Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #796110

    Hey 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,
    Victoria

    #796138

    Hei Victoria,

    the DEBUG mode is already set to false.

    Any other idea?

    Best regards,
    Daniel

    #796139

    MAybe 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;
    }
    }

    #796140

    I 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,
    Daniel

    #796347

    Hi 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,
    Rikard

    #796581

    Hi Rikard,

    thank you for the reply.

    Have a nice day,
    Daniel

    #796794

    Hi,

    Let us know if you need more assistance or if we can close this thread :)

    Best regards,
    Nikko

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