Skip to content

give_set_error not displaying errors return in form #6662

Discussion options

You must be logged in to vote

Hey @ChelseaKaweb, it looks like that is a bug, which I was able to reproduce with the Classic Form Template.

So that you can be kept up to date with the status of this bug I would suggest that you open a support ticket. Our support team is best equipped to keep track of communicates with customers.

You can provide them with this reduced test case, which they can troubleshoot using the Classic Form Template.

add_action('give_checkout_error_checks', function($valid_data, $data) {
   give_set_error('my_error', __('Sorry, we are not collecting from your area.', 'give'));
}, 10, 2);

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@iamgracey
Comment options

Answer selected by kjohnson
Comment options

You must be logged in to vote
1 reply
@iamgracey
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants