php – Error occurs when try to get woocommerce order details in a custom WP_Query

I’m trying to get order details with WP_Query, this must be work with an ajax call for pagination without page reload. The problem is that I get an error when I try to put some variables, such as: $order_id = $order->get_id(); or $items = $order->get_items();. The error in google console: POST https://mywebsite.com/wp-admin/admin-ajax.php 500 As @Sadoo … Read more

java – my corresponding error messages cant be found when an error occurs in my new user sighn up page

im trying to get my messages from the corresponding errors using springboot thymleaf. So the validator works and ive checked it gets the right error object each time the appropriate error occurs. the only problem is that my program cant find the value from the error code my example so far is making my date … Read more