• I have a problem with my donation form.

    When displayed on my donations page, it shows the “Only one donation form per page allowed” error message even though it is the only form on the page.

    I have tried applying the “wcdp_only_one_form_allowed” filter, but it only makes disappear the message, not showing the form.

    I have tried changing the product I use for the form without any visible change.

    The only thing that worked for me was creating again the page, but when updating its content with the Divi Builder (I am using the Divi theme), the error message appears again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonas

    (@flinnn)

    Hi rauldom,

    Thank you for reaching out. I understand how frustrating this issue can be, especially when it seems like there’s only one form on the page. Based on your description, it appears that the Divi Builder is interfering with how the donation form is rendered. Troubleshooting Steps:

    1. Check for Duplicate Form Instances
      Sometimes, page builders like Divi can create hidden or duplicate instances of shortcodes. Try switching to the default WordPress editor (temporarily) to see if the issue persists.
    2. Use the Shortcode Block Instead of Modules
      Instead of placing the donation form inside a Divi module, try adding it via a standard WordPress shortcode block in the editor.
    3. Test with a Different Theme
      Temporarily switch to a default WordPress theme (e.g., Twenty Twenty-Four) to confirm whether the issue is specific to Divi.
    4. Recreate the Page Using a Classic Editor or Gutenberg
      Since recreating the page worked for you initially, you might want to avoid making further edits in Divi. Try using the Gutenberg editor instead and embedding the form there.

    Next Steps:

    If the issue persists, I recommend reaching out to Divi’s support team as well, since their builder may be handling shortcodes differently or interfering with WooCommerce’s rendering logic.

    Let me know how it goes or if you need further assistance!

    Best,
    Jonas

    Thread Starter Raúl Domínguez

    (@rauldom)

    Hi Jonas.

    Thanks for reaching out.

    We have tried creating a new page from scratch without the Divi Builder, but when activating it, the shortcode stops working. If we disable the Divi builder after creating the page with the classic editor, the shortocde still won’t work.

    It seems that on the moment on using the Divi Builder, the shortcode stops working, until we delete the page and try again on a clean classic editor page.

    We have also tried using the sidebar module of Divi, which enables using widgets directly, not manual content, without any changes though.

    We will contact Divi Support to see if they can give us any info on this behavior.

    Nonetheless, is it a known error that when activating the filter that allow multiple forms, they appear to be blank?

    Thread Starter Raúl Domínguez

    (@rauldom)

    Hi Jonas.

    After contacting and doing some debugging, we detected the problem came from the All in One SEO plugin.

    The plugin has a setting that allows running shortcodes to be able to add its content to the metadata of a post.

    It seems that was provoking the shortcode to detect multiple forms, and not displaying them properly.

    In our case, we were able to just disable such option, as we do not need that feature, but it may be interesting to see into it in case some project needs it and is not able to disable it.

    Thanks for the support.

    Plugin Author Jonas

    (@flinnn)

    Perfect, glad to hear that it’s working now.

    Best,
    Jonas

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Form not showing and displaying “multiple forms” error message’ is closed to new replies.