-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 JSON Response and RESI API Issue #60974
Comments
Thanks for the report. Looking at the error log, it appears to be similar to the issue reported in the core ticket below. |
Thanks for flagging this @t-hamano and connecting it to https://core.trac.wordpress.org/ticket/60909 This should be solved by these two PRs |
@creativecoder it seems like the |
Thanks for the reminder @david-binda ! I started that here, but need to update it to match the version that merged to core. Will do that today. |
Thanks! I was not entirely sure if the PR is meant to reflect the core or is a separate fix :) |
#60925 has how been updated to use the same approach from WordPress/wordpress-develop#6420. Please review! |
Description
We have a wordpress instance running on AWS using bitnami. We are currently running PHP 8.1.16, Wordpress 6.5.2.
The site was running fine, perhaps it updated, idk, but we started getting invalid JSON response when updating. Also, other features that seem to use the REST API do not appear to be functioning.
I attempted recreating the .htaccess, resetting permissions per bitnami's support page (https://docs.bitnami.com/aws/how-to/troubleshoot-permission-issues/), changing permalink structure, while also increasing php values such as max_upload/max_input_vars/max_timeout.
We currently had child theme for divi, but I swiched to twenty-twenty and disabled all plugins to no avail.
Here is the debug, "PHP Warning: Attempt to read property... 'null' "
https://pastebin.com/pxTLXDru
Step-by-step reproduction instructions
Not sure, kinda just started, perhaps after an auto-update of wordpress.
Screenshots, screen recording, code snippet
No response
Environment info
PHP 8.1.16, Wordpress 6.5.2. AWS Bitnami
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: