This was brought up in #2306, and is a sibling feature request to #3530 and #3648.
We should ship core with a layout that uses user/% as context, since it is easier for beginners to tweak layouts rather than having to create them from scratch.
GitHub Issue #:
3531
Recent comments
Hey there! That error message is definitely a head-scratcher. Even though you uninstalled Views, it sounds like something is still referencing a Views-related constant. Maybe a custom module or...
VIEWS_STORAGE_OVERRIDE
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout