-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Not able to publish posts in certain cases on a sub-domain. #11393
Comments
Hi @benoyd, Can you try reinstalling beta 2? I believe this issue was fixed with https://core.trac.wordpress.org/ticket/45235. Gary rebuilt beta2 but you may have installed the earlier version. |
Hi! So I downloaded Wordpress 5.0 Beta 2 (again) and re-downloaded Advanced Custom Fields 5.8.0 Beta 2 (again, just to be sure). And I can still replicate the problem. This is what I did now to re-create the same issue:
NOTE: This was done on a sub domain. Howl at me here and I'll get back to you if you need any further information. |
Can you share a screenshot of what you see in this case? Also, can you enable your PHP error log and report any contents of that? |
Sure. This is the screenshots I submitted to ACF (hence the date) but it's the same error. Here is the WP Debug Log: |
Hey @benoyd, This was the issue that was fixed in beta2. I'm not sure why you're not getting the new build, but should be addressed when beta3 is released at the minimum. |
Sorry for the late response. This is the link I used to download the Beta: https://wordpress.org/wordpress-5.0-beta2.zip I downloaded it 2018-11-02 15:20 European Standard Time. I wish I could try Beta 3 that got released, but I'm hestitanting to upgrade since Elliot on ACF reported that the new beta does not save ACF Meta Data fields at all. So I'll have wait til that is fixed, more info here: https://wordpress.org/support/topic/wordpress-5-0-beta3-does-not-save-acf-metabox-data/ |
What's the status of this issue? Has it been fixed, @benoyd? |
Yes, this is no longer an issue :) |
Took me a while to figure this one out. I assumed it was a problem with Advanced Custom Fields 5.8.0 Beta 1 & 2. But it turns out that it's not caused by ACF at all. I have been investigating the issue with Elliot & ACF and we've come to the conclusion that Gutenberg can't publish posts on a sub-domain if a plugin that handle meta fields is activated. I tried a different plugin to see if I could replicate the issue (I could). We tried using this on a regular domain with and without www and everything works as intended.
This error did not occur in Wordpress 4.9.8 with Gutenberg plugin.
Info:
Wordpress 5.0 Beta 2.
Advanced Custom Fields 5.8.0 Beta 1 & Beta 2.
Meta Box 4.15.6 (Tried to replicate with this one).
PHP Version 7.15
twentynineteen theme.
Error that occurs:
500 Internal Server Error when trying to POST to:
/wp-json/wp/v2/posts/27?_locale=user
/wp-json/wp/v2/posts/27/autosaves?_locale=user
How to "circumvent":
Commenting out row 137-143 in wp-includes/l10n.php
Edit: Added theme to info.
The text was updated successfully, but these errors were encountered: