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.

  • #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 Innovative Corporate Theme (EDICT)

EDICT is a clean and innovative business WordPress theme. This business theme, built fully on theme options with Redux Framework, comes up with three stunning homepage demo layouts that can be imported with just one click of a button. Not to mention it also includes three elegantly designed blog, portfolio and header layouts.

Click on the below image for more detail.

Edict  Eight Degree Innovative Corporate 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: