-
Notifications
You must be signed in to change notification settings - Fork 894
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
Publishing or updating fails #21844
Comments
Hi @iBook140 Thanks for using the Yoast SEO plugin. I didn't get a clear idea of how to reproduce the issue. So, can you please share the step-by-step instructions for reproducing this or with a screencast to reproduce this? Also, have you tried a conflict check to confirm whether the issue persists only with the Yoast SEO plugin and a default theme like Twenty Twenty-Four or whether you have noticed this working when only deactivating the Yoast SEO plugin? We look forward to hearing from you. |
Hello @josevarghese thank you very much for your reply! The problem occurs in combination with my custom PHP code and YOAST (and latest WordPress update 6.7 I think). Here is a screencast on changing page settings to private – here I assume YOAST is disabled? (problem disappears) And this here is another one with YOAST plugin disabled. The problem does not occur here either On my custom PHP code the bottom lines seems to make problems:
Hope my explanation is more understandable now? Thanks and kind regards |
Hi Rene, Thanks for the video, but you haven't shared where I need to add the code to check this behavior. Is this added within your block editor or within the theme? Can you share detailed steps to help me replicate it? |
Hello @josevarghese this is a custom page block registered in function.php of theme:
And fields are added using ACF Pro (Advanced Custom Fields). Kind regardrs |
Hello again, just updated WordPress to latest version 6.7.1 but unfortunately problem still exists Kind regards |
Please give us a description of what happened
Posted on WordPress Plugin support forum also:
https://wordpress.org/support/topic/publishing-or-updating-failed/
If creating a new page or updating an existing page, publishing/updating fails message is shown but page is published/updated. Error in console says:
If page is set to private (instead of public) or YOAST plugin is disabled, this error message is not displayed.
But also if my custom PHP block is not used, this error also doesn’t occur.
Problem seems to make the bottom part (highlighted bold). I tried removing and saving/updating works. I also tried to remove the whole JS (<script></script>), error is still there
To Reproduce
Step-by-step reproduction instructions
Expected results
Actual results
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Technical info
Used versions
The text was updated successfully, but these errors were encountered: