WordPress Tutorial Videos by WP101®

175+ WordPress tutorial videos for non-techies.

  • About Us
    • Top WordPress Products
    • Testimonials
  • WordPress Tutorials
    • Intro to WordPress
    • WordPress 101
    • AIOSEO 101
    • WP Mail SMTP 101
    • Easy Digital Downloads 101
    • WPCode 101
    • WP Simple Pay 101
    • RafflePress 101
    • Elementor 101
    • WPForms 101
    • Spectra 101
    • How to Blog Better
    • WooCommerce 101
    • Beaver Builder 101
    • Ninja Forms 101
    • WP Rocket 101
  • Help Forum
    • Hire a WordPress Expert
  • Blog
  • Contact
  • Sign In

WooCommerce error: woocommerce_get_page_id is deprecated

Get answers to your WordPress questions!

Tired of wasting time scouring Google for answers to your WordPress questions? Since 2008, we've helped countless WordPress site owners just like you get unstuck. Get answers to your WordPress questions — plus unlimited access to our entire library of 150+ WordPress tutorial videos. Why not join us today?

View Membership Options
WordPress Questions and Answers › WooCommerce error: woocommerce_get_page_id is deprecated
0 Vote Up Vote Down
T
Tracey Hallink
asked 8 years ago

Hello,

Please help! My customers are getting an error message all of a sudden when checking out of my online store (woocommerce). It says the following and I'm not sure what to do...

Notice: woocommerce_get_page_id is deprecated since version 3.0! Use wc_get_page_id instead. in /hsphere/local/home/moolpc/coastimagewear.com.au/wp-includes/functions.php on line 3831

Thank you for any advice you may have.

1 Answers
0 Vote Up Vote Down
Shawn Hesketh answered 8 years ago

Hi Tracey,

So sorry to hear you're having this issue with your WooCommerce store.

A quick Google search turns up several support topics from people who experienced the same issue after updating to WooCommerce 3.0. Here's one of them. Those support threads all appeared about the same time — about 3 months ago.

It appears the woocommerce_get_page_id is deprecated message is safe to ignore, but should have been corrected in a future update to the plugin.

Fom that thread linked above, “If you’re seeing these messages on your public-facing pages, it’s a sign that your host has misconfigured your server’s error logging. Logged error messages should not be visible on production sites, so it would be worth asking them to disable these. They can either log to a file for you to review privately, or disable logging altogether if they offer a staging environment that you can test new updates in instead.”

This indicates that your best course of action may be to contact your web hosting provider and ask them to help you resolve this issue by diabling logged error messages.

But you might also search for this error on the WooCommerce support channel to see if there is a more recent fix: https://wordpress.org/support/plugin/woocommerce

If your web host is unable or unwilling to resolve this for you, then you could also reach out to one of the experts at Codeable, who can no doubt resolve this in short order, at a very low cost: https://wp101.com/help/

Hope this helps, and that you're able to get this resolved ASAP!

Please login or register to join the conversation!

Share this with someone?

FacebookTweetLinkedIn

Most Recent Questions

  • I took the Sprectra 101 course. Now I’m building my won web site but I still have the Specra Style Guide and I think it’s causing an issue with Sprectra One. How do I get rid of the Style guide? asked by Mallis01, 1 year ago
  • Can you offer any tips, or best practices, on how to redesign and upgrade an old website? asked by FSAuthor, 1 year ago
  • How to create a blog in Spectra? asked by TJ, 1 year ago
  • How do I make all the words show Uppercase? asked by iLoveToLiveWell.com, 2 years ago
  • Why does my right side dashboard top look different than course. asked by Blues1947, 2 years ago

Site Links

  • About Us
  • Your Account
  • Products We ❤️
  • Affiliates
  • Testimonials
  • Blog
  • Contact Us

Courses

  • WordPress 101
  • WooCommerce
  • Elementor
  • Spectra
  • WPForms
  • Ninja Forms
  • View All →

Products

  • WP101.com
  • WP101 Plugin
  • Embed our videos on your site!

Recent Posts

  • How to Learn WordPress: The RIGHT Way! (2025 Roadmap + Tutorials)
  • Why Your WordPress Clients Keep Asking the Same Questions (And How to Fix It)
  • Best Online WordPress Courses 2025: Learn WordPress from Scratch
  • Best WordPress Order Form Plugins 2025 – Expert Review & Comparison
  • Find Your Ideal Domain Name: Best Registrars in 2025

Connect with Us

  • Email
  • Facebook
  • Twitter

WordPress Tutorials by WP101© 2008-2025 WP101® LLC. All rights reserved.
WP101® is a registered trademark with the U.S. Patent and Trademark Office.
WP101® is hosted by SiteGround.
Privacy Policy | Terms of Use | Disclosure | WP101 Coupon