@caleb: Thanks, but this is not an editing the tabs issue. These are the “default” ones and they are not working for me. I just disabled plug-ins and tested in the TwentySixteen theme and they are also not working there so I don’t believe it’s an issue with my code.
One helpful thing from those docs ,right be looking at the woocommerce_account_orders_endpoint
hook, but should’t that be working “out of the box” in 2.6? I assume I would only use this to override or enhance current functionality.
I looked into the woocommerce_account_orders_endpoint
hook and it seems like the page is re-directing to a 404 before the woocommerce_account_orders
method is even called.
What happens if you remove your custom code and refresh the permalinks? You may have altered something unknowingly and need to flush the rewrite rules.
No luck, but good thing to check. I can’t imagine I’m the only one encountering this issue, am I?
Only report I’ve seen. In WC> Settings > Accounts, are the correct pages assigned?
As far as I know. Here is what I have:
Account page setting
Endpoints Settings
What happens If the account doesn’t have any orders? I would assume it says “no orders” and doesn’t just deliver a 404 page, right?
@mike Jolley: Why would all the endpoints EXCEPT these two work? I’m open for ANY troubleshooting ideas. Is there a way for me to set some breakpoints or something?
Orders page just shows a notice that there are none.
In 2.6.1, payments is hidden if not supported by gateways.
http://glui.me/?i=zad7b9vpnufh3nw/2016-06-16_at_22.35.png/
Ok. Well I tried with a clean install of WordPress and Woocommerce and it all seems fine there, so something about this environment. What’s odd is I tried disabling all plugins except WooCommerce and switching to the TwentSizteen theme and still it wasn’t working.
After turning things off, save permalinks. That will clear any bogus rules you have.
Thanks again Mike. I actually did do that and that wasn’t it. The good news is I just discovered the issue. Turned out to be Redis Object Cache. Once I cleared that things began working as normal. Sorry to have bothered you with this.
Any reason why these two particular endpoints would be impacted by Redis while the other endpoints are not?
The Redis drop-in I have been using is Eric Mann’s Redis Object Cache