Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid form data error when saving settings in plugin UI #21041

Open
4 of 11 tasks
maybellyne opened this issue Jan 15, 2024 · 6 comments
Open
4 of 11 tasks

Invalid form data error when saving settings in plugin UI #21041

maybellyne opened this issue Jan 15, 2024 · 6 comments

Comments

@maybellyne
Copy link

maybellyne commented Jan 15, 2024

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

When you make changes in the plugin settings UI, such as site representation, site basics, content types, categories & tags, an error relating to custom post types is triggered.

To Reproduce

Step-by-step reproduction instructions

  1. Install other plugins that add CPTs such as EVents Calendar, CPT UI, ACF
  2. Make any changes in our plugin settings UI e.g edit the meta description field for a CPT, post or page
  3. Save changes

Expected results

  1. Changes should be saved normally

Actual results

  1. An error is triggered: Oh no! It seems your form contains invalid data. Please review the following fields: If you deactivate the plugin responsible for the CPT, the error is resolved, and another CPT becomes the issue.
  2. A user reported the same error on a fresh installation with no other plugins. I could replicate this where other default fields such as organization name/logo or Facebook are reported as invalid

Screenshots, screen recording, code snippet

If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
issue
error1
ktrTzWe

Technical info

  • If relevant, which editor is affected (or editors):
  • Block Editor
  • Gutenberg Editor
  • Elementor Editor
  • Classic Editor
  • Other:
  • Which browser is affected (or browsers):
  • Chrome
  • Firefox
  • Safari
  • Other:

Used versions

  • Device you are using:
  • Operating system:
  • PHP version:
  • WordPress version: 6.4.2
  • WordPress Theme: any default theme
  • Yoast SEO version: 21.8
  • Gutenberg plugin version:
  • Elementor plugin version:
  • Classic Editor plugin version:
  • Relevant plugins in case of a bug: CPT UI, ACF, Events Calendar
@maybellyne
Copy link
Author

@maybellyne
Copy link
Author

@maybellyne
Copy link
Author

Please inform the customer of conversation # 1101160 when this conversation has been closed.

@maybellyne
Copy link
Author

@maybellyne
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants