Support » Plugin: Genesis Connect for WooCommerce » Deprecated Notice: woocommerce_get_page_id

  • Receiving the following notice on the latest woocommerce (3.0.0) update.

    Notice: woocommerce_get_page_id is deprecated since version 3.0! Use wc_get_page_id instead.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Contributor Nick Cernis


    Thanks for the report, @hortons-art. I’ve passed this on to the StudioPress team.

    The notice is safe to ignore for now, but if you’re seeing this on your public site, it would be worth asking your host to set logging to production mode so that PHP notices aren’t visible to your site visitors.

    No problem. Just wanted to let you all know. The notice is only on my development environment.

    Plugin Contributor Nick Cernis


    Great! Thank you again for your report.

    Getting the same error on my public site
    Notice: woocommerce_get_page_id on kehotettu välttämään versiosta 3.0 asti! Käytä sen sijaan wc_get_page_id. in /home/ateljee23/domains/ on line 3829

    and on cart i get this

    Notice: Undefined index: fi in /home/ateljee23/domains/ on line 307

    urgent help needed please

    Plugin Contributor Nick Cernis


    @rad10active Sorry to hear about these errors.

    The woocommerce_get_page_id is deprecated message is safe to ignore, but will be corrected in a future update to the plugin.

    “Undefined index: …” from wc-cart-functions.php is not something I was able to reproduce in my tests with Genesis Connect. The error message points to an issue with the WooCommerce plugin file, as opposed to Genesis Connect, so you may wish to follow up with WooCommerce support:

    If you’re seeing these messages on your public-facing pages as opposed to on a development site, 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 reply was modified 1 year, 8 months ago by  Nick Cernis.

    Hello, thank you for your reply, i will ask further

    Thank you – I too have this on my site – 3 lines of the same code above the top navigation menu.

    I have asked my host to help resolve this.

    Hello, I have the same errors on my public site (below my navigation):

    Notice: woocommerce_get_page_id is deprecated since version 3.0! Use wc_get_page_id instead. in /home3/carmia/public_html/wp-includes/functions.php on line 3830

    In my sidebar I have the following error:

    Notice: ss_do_one_sidebar is deprecated since version 2.1.0! Use dynamic_sidebar() with sidebars_widget filter instead. in /home3/carmia/public_html/wp-includes/functions.php on line 3830

    Some of my site visitors get an error when adding items to their cart – preventing them from checking out.

    I asked my host (Hostgator) to disable these logged errors and they told me to talk to my developer.

    I contacted Woocommerce support and they said I need to wait for the Genesis Connect plugin’s developers to release an updated version that is compatible with WooCommerce 3.0+.

    We are having this same error on multiple production sites. Is Studio Press going to address this? We know Woo change other calls in 3 but other plugin supports have resolved them, this is the last side effect we see from the transition to Woo 3.

    Long time Genesis user.

    I was seeing this error message also, on the public site, but only when I had breadcrumbs enabled (on Archives and Single posts). Once I turned those off again, then the error went away. So it must be related to the breadcrumbs.

    I was seeing this error message also! how can I fixed?


    Any new about this problem? I’m getting the same notices on my website.

    Plugin Contributor Nick Cernis


    An update will be released to correct these PHP warnings and introduce new features and fixes, but I don’t yet have a timeline for its release. I’m sorry for the delay there.

    If you’re seeing the messages on your public site, I recommend contacting your host to ask them to disable logging to screen, as PHP warnings and errors should not be visible on a live production site. (It is fine to log messages privately to a file or make them available via a control panel.)

    If you’re seeing the warnings on a private development site, I’m sorry for the noise in your logs for now.

    I need help.
    Notice: woocommerce_get_page_id is deprecated since version 2.7! Use wc_get_page_id instead. in /home/elitemon/public_html/wp-includes/functions.php on line 3843

    I install version 2.7, 3.0 and 3.3. All version errors!

    Plugin Contributor Nick Cernis


    @romulohenricco This is fixed in 0.9.10. That version is currently unreleased, but you can download it here if you wish:

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Deprecated Notice: woocommerce_get_page_id’ is closed to new replies.