Get _page_id return nothing
-
Hello,
I’ve been investigating for several days : the links for renewing subscriptions, changing bank cards, are incorrect because of missing “my-account” or “checkout” in the URL.I’ve found the source of the problem, the getoption function returns an empty result in these cases:
- get_option( ‘woocommerce_myaccount_page_id’ )
- get_option( ‘woocommerce_checkout_page_id’ )
However, these pages are well defined in Woocommerce: https://prnt.sc/mI7087qLt-AI
And in the database : https://prnt.sc/c6eN9PgHvlKSDo you have any idea where this might be coming from?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get _page_id return nothing’ is closed to new replies.