Update failed. The response is not a valid JSON response. when I have LiteSpeed Cache turned on.
When I inactivate the plugin, the problem disappeares.
I guess it has something to do with my settings. Do you have any suggestions?
]]>I connected the Site Kit to Google Analytics and everything goes right but the “Top Content over the last 28 days” shows no data and remains as this:
I review the console looking for errors and found this message:Google Site Kit API Error method:GET datapoint:report type:modules identifier:analytics-4 error:"The response is not a valid JSON response."(anonymous)@googlesitekit-api-.......
All the rest of the dashboard and graphics works great.
I already reset connections, review it with health check activated, deactivated all the plugins, reinstall software, etc. etc. and nothing fixes until now.
Thanks in advance for all your help.
]]>after changing the “Site Address (URL)” at settings when trying to publish a new post or page an error-message comes:
“Publishing failed. The response is not a valid JSON response.“
Is it because of my .htaccess-file, because of Require User there, because of wordpress, …? What do I have to change?
The domain is situated at the hosting-company in the file-directory:
/mydifferentdomains/example_com
The directory
/mydifferentdomains/example_com/section
is secured by an .htaccess-file per “Require user”.
At settings in my WordPress-Settings page:
WordPress Address (URL)
https://www.example.com/section/wp
Site Address (URL)
https://www.example.com/section/wp
There I change the Site Address (URL) to auf https://www.example.com
After the change the .htaccess-file reads:
RewriteEngine On
#Options FollowSymLinks
ErrorDocument 404 default
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
ErrorDocument 404 default
# ErrorDocument 404 /neuanlegen.php?aktion=DateiNichtVorhanden
# Next three lines by the hosting company, after I activated the SSL-certificate coming with my contract.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
But now whenever trying to “Publish” a new post or page the error-message comes up:
“Publishing failed. The response is not a valid JSON response.”
—–
(Once I accomplished this I will switch the setting to use Permalinks..)
]]>I totally lost a draft – cannot find it anywhere in the obvious places to look (although my ‘trash’ folder is no longer listed and so I cannot check there). I’ve been on several websites to do step-by-step troubleshooting, including plug in checks.
One site suggested I try a clean .htpaccess file but that makes me nervous. I’m not a coder/techie etc, I’m just a blogger.
Two weird messages that I see:
wp_wplmi_fetch_plugin_data_cron — on my site’s health status. I cannot figure out which plugin this pertains to!
‘invalid JSON response’ at the top of my (now) blank draft.
I can swallow the lost draft, but I don’t want to lose more. I opened up a blank post to ‘test’ it – and my wordpress will not save any new draft.
]]>I’ve gone through and replaced all legacy widgets with new ones, so I don’t think it has to do with a corrupt widget or whatever.
I’ve seen other support threads that say use the classic editor, but I’d like to get the blocks widgets working.
The browser console inspector shows this error when I press the Update button: “Failed to load resource: the server responded with a status of 405 ()”
Clicking on the browser inspect console link, it shows this in the Application tab: “405 Not Allowed” and it refers to a script src in the “/cdn-cgi/apps/head/” folder, which is related to Cloudflare. I’ve tried pausing Cloudflare, but the same error appears.
I’ve tried deactivating all the plugins and using the default theme, but the problem persists. How can I solve this issue?
Thanks for any help!
]]>I have version 6.2 in a clean installation, without plugins and with the theme Twenty Twenty-Three version: 1.1, I get the error: Update failed. The response is not a valid JSON response, when trying to update pages and post.
I have tried many possible solutions that are in this forum, but I have not been able to fix it.
Could you help me.
]]>This is what I found:
safe_mode = Off
disable_functions = NONE
safe_mode_gid = OFF
open_basedir = OFF
exec = ON
shell_exec?=?ON
This is how I changed it:
safe_mode = Off
disable_functions = system, shell_exec, exec
safe_mode_gid = Off
open_basedir =
It worked for me and I hope it will work for others.
(1) I just bought domain on Namecheap? ?
(2) I bought hosting.
(3) I installed wordpress
(4) I selected/installed wordpress theme and start editing?
while posting content or image
?? ? ? ? ? ? ? ? ? ? ? ? ?this error coming
Updating failed. The response is not a valid JSON response.
]]>