Support » Plugin: WooCommerce » Woocommerce 3.0 Notice (issue)

  • Resolved webhuntsupport

    (@webhuntsupport)


    Hi,

    In Woocommerce 3.0.1 if we didn’t set description meta field of product Featured Image there will be a notice in single product page below the product image.

    Notice: Trying to get property of non-object in C:\xampp\htdocs\wp-4.7.2\wp-content\plugins\woocommerce\templates\single-product\product-thumbnails.php on line 32

    code is:

    $image_title = $thumbnail_post->post_content;

    this should be like this:

    $image_title = isset($thumbnail_post->post_content) ? $thumbnail_post->post_content : ”;

    Just wanted to let you know.

    Thank You

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce 3.0 Notice (issue)’ is closed to new replies.