impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
340 stars 191 forks source link

GiveWP Form block should not error after selecting a form #6436

Closed webelaine closed 2 years ago

webelaine commented 2 years ago

User Story

As an editor, I want to add a GiveWP Form block to a page.

Details

After adding the block, I can select an existing GiveWP form. Once a particular form is selected, console errors including Minified React Error #31 are generated, and the block preview says "This block has encountered an error and cannot be previewed." The block displays properly on the front end, but never in the Editor.

Expected Behavior

Once a form has been selected, it should display in the Editor rather than any errors.

Steps to Reproduce

  1. Install WordPress 5.9 or 6.0.
  2. Install the latest version of GiveWP.
  3. Create a new page or edit an existing one.
  4. Add a GiveWP Form block to the page.
  5. Select an existing form.

Visuals

Screen Shot 2022-05-25 at 10 51 56 AM

Additional Context

System Information

Details MacOS 12.4 Monterey Google Chrome latest version or Mozilla Firefox Developer Edition latest version

Acceptance Criteria

JasonTheAdams commented 2 years ago

Hi @webelaine!

Thank you so much for taking the time to reach out and detail the issue you're running into. I just tested this out and am unable to reproduce the issue. Really, our Github isn't the best place to receive support. We have an awesome Support team that would be happy to dig into the issue with you and understand what's going on. Please reach out to our support and we'll get this resolved!

I'm closing this ticket, but will reply if you have any further questions prior to reaching out to support.