When I try to edit and update post, it return 403 error.

[ad_1]

As the title says, when i try to edit or update post, Updating failed. The response is not a valid JSON response. is returned. But in the console, it says 403 error. Tried everything that I found on the internet but nothing is working.

I have already

1. created new htaccess file
2. gone through all the permissions, it seems okay,

Update
Using the classic Editor works perfectly though.

[ad_2]
1 Comment
  1. i recently faced this problem for one of my client’s wordpress site. my client inserted some html/js code in block editor that was caused this error. Then i have moved this html/js code to snippet plugin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer