Depreciation Function Error on Category Image

Home Page 8DegreeThemes Forum Free Themes EightStore Lite Depreciation Function Error on Category Image

  • Author
    Posts
  • #19334

    mayank29gupta
    Participant

    I am getting the following error on the category image in home page of my website that uses EightStore lite plugin. The error is

    Notice: get_woocommerce_term_meta is deprecated since version 3.6! Use get_term_meta instead. in /home/careeing/public_html/oldbookdepot.in/wp-includes/functions.php on line 4329

    my home page is oldbookdepot(dot)in

  • #19336

    mayank29gupta
    Participant

    Dear Team,

    I have managed to find out that this depreciated code is on line 118 of widget-cat-product.php file. Would request you to fix it in the coming update.

  • #19356

    8Degree Themes
    Keymaster

    Okay,
    Thank you for informing, we will surely include this in next update.
    Thanks!

  • #19509

    dustycat
    Participant

    Do you have a release date for this fix?

    It really is ruining my homepage having error codes everywhere!

    • #19510

      mayank29gupta
      Participant

      Dear Dustycat,

      If you are facing the same problem and seeing same error code the do the following.

      1. In the theme folder inside wordpress installation, go to eightstore-lite/inc/widgets/assets

      2. Open the file widget-cat-product.php

      3. On the line 118 (or maybe couple of lines above or below) you will find code similar to this – $thumbnail_id = get_woocommerce_term_meta ($product_category, ‘thumbnail_id’, true);

      4. Change it to $thumbnail_id = get_term_meta($product_category, ‘thumbnail_id’, true); and save the file. In short, simply remove woocommerce from get_wocommerce_term_meta

      This should fix the problem. It did for me. Hope it helps you.

      • This reply was modified 2 weeks, 6 days ago by  mayank29gupta.
  • #19535

    8Degree Themes
    Keymaster

    Hi There,

    Theme Update version 1.1.2 is already released.
    You can go to your site dashboard and then update the theme from there.

    Thanks!

You must be logged in to reply to this topic.

Our New Release - Eight Degree Pro

Eight Degree Pro is a flexible WordPress theme with modern and mobile friendly design. This multipurpose WP template is suitable for building any kind of websites from blogs and portfolios to businesses. It comes with 3 predesigned demos with one click demo import features. Simply import the demo data and start customizing.

We've Launch offer 40% discount to our exclusive clients like you! Use coupon code customer during checkout. Get the theme only for $33 now (only for few days!)

Click on the below image for more detail.

Eight Degree Pro  WordPress Corporate Business Premium Theme

Please post your questions in the respective forum above.

All questions related to our Pro theme will be answered in less than 24 hours. All questions related to our Free theme will be answered in less than 48 hours.
Our Facebook page is the best place to get updated with themes, documentation, question/answers. Please like us here: