Error messages

Incomplete list of error messages and their causes.

Error: invalid nonce. Please reload the page and try again. If the problem persists, please contact our support team.
The nonce is invalid. The nonce may have become invalid due to caching of the website. Please set your caching so that pages are not cached for more than 12 hours.
https://wcdp.jonh.eu/documentation/usage/caching-website-speed/

Only one donation form per page allowed
See https://wcdp.jonh.eu/documentation/advanced/resolving-error-only-one-donation-form-per-page-allowed/
Since WooCommerce and other plugins don’t assume that there are multiple checkouts on a page, you might run into problems otherwise. Please be aware that adding multiple donation forms on a page can lead to unexpected behavior and is therefore not recommended. But you can add the following filter to avoid getting this error message:

add_filter( 'wcdp_only_one_form_allowed', '__return_false' );

Your cart is currently empty! – Checkout is not available whilst your cart is empty—please take a look through our store and come back when you’re ready to place an order.
This error message appears when you are using the new Gutenberg WooCommerce block. Please use the “old” {woocommerce_checkout} (use [] instead of {}). Donation Platform for WooCommerce is not yet compatible with the new Gutenberg block.

Donations are not activated for this project.
The “Donation Project” option is not enabled. Please enable it on the product edit page.

Could not add donation to cart.
A problem occurred while adding a product to the shopping cart. Probably the cause is WooCommerce or an extension for WooCommerce. Please check the php error log.

Invalid donation amount. Please enter a different donation amount.
The donation amount must be between the amounts specified under WooCommerce Settings -> Donations.

Invalid donation product status. Please contact our support team.
The “Donation Project” option is not enabled. Please enable it on the product edit page.

Invalid request. Please reload the page and try again. If the problem persists, please contact our support team.
The Post/Get Request parameter postid or wcdp-donation-amount is missing.

Invalid postid. Please reload the page and try again. If the problem persists, please contact our support team.
Invalid project ID: This project is unknown.
The specified postid is not an id for a WooCommerce product.

Invalid Request: postid missing. Please reload the page and try again. If the problem persists, please contact our support team.
The Post/Get Parameter postid is missing.

Please log in to donate.
Checkout is only enabled for logged in users. You have to enable the option “Allow customers to place orders without an account” under WooCommerce settings -> Accounts & Privacy.

In the current view, the donation form is not available.
The WooCommerce shopping cart is not initialized.

Currently you can not donate to this project.
Product is a grouped product or the product is not purchasable. The product has to exist, must have a base price & must have the status published. Other plugins also might overwrite a product as not purchasable.

This project is currently not available.
The product is not in stock. You can disable stock management for this product or make sure there is enough stock available.

Your request could not be processed correctly. If the problem persists, please contact us.
Order creation failed, order is false on thankyou.php

An unexpected error occurred. Please reload the page and try again. If the problem persists, please contact our support team
The AJAX request to add the donation product to the cart failed. This error occurs when the page cannot connect to the server.

Donation Platform for WooCommerce is inactive. This version of Donation Platform for WooCommerce requires WooCommerce 4.0.0 or newer. Please update WooCommerce and run all database migrations.
Did you update WooCommerce and run all database migrations?