• Resolved tonygao

    (@tonygao)


    The error message is as below:

    “PHP Deprecated: WC_Order::get_item_meta is deprecated since version 3.0! Use wc_get_order_item_meta instead. in /public_html/wp-includes/functions.php on line 5083″

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @tonygao,

    You seem to have a function in your theme, plugin, or custom code using the deprecated function that you will want to update to the new function.

    Just to check, are you using an outdated WordPress version, plugin, or theme?
    I would start with updating any of these that are outdated. Just to be thorough, also check if you have custom code using the deprecated function.

    Let us know how it goes.
    Thanks.

    Thread Starter tonygao

    (@tonygao)

    Thanks! It make sense to me, the website has lots of plugins installed

    Mirko P.

    (@rainfallnixfig)

    Hi @tonygao,

    Thanks for getting back.

    If you want to be able to trace via code to find out the originating file or plugin which is causing deprecation warnings, you can use an extension like Xdebug, which will allow you to generate a stack trace that will probably display more information to locate the culprit. Check out this Stack Exchange related question for more details.

    As usual, you’ll want to save a backup of your site in case anything goes wrong. More info at: Backing up WordPress content.

    Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    Hopefully, the above information helped you out! If you have further questions, please feel free to open a new topic.

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I have this error message in log file but no idea’ is closed to new replies.