Title: JSON Publishing issue
Last modified: February 4, 2025

---

# JSON Publishing issue

 *  Resolved [applesandarrows](https://wordpress.org/support/users/applesandarrows/)
 * (@applesandarrows)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/json-publishing-issue/)
 * I am using the 2024 theme and latest version of Sensei 4.24.5 and WordPress 6.7.1.
   Every time I try to create a Course or a Lesson I get this error, “Updating failed.
   The response is not a valid JSON response.”. I thought this might be a plugin
   conflict but disabling other plugins did not seem to resolve the issues. When
   I inspected the page it seems that Sensei is throwing several errors, mostly 
   to do with CSS and saying to use the block.json or enqueue_block_assets. The 
   other repeated error is:
   Uncaught (in promise)Objectcode: “invalid_json”message:“
   The response is not a valid JSON response”How do I fix these issues? I want to
   use Sensei since I’m using the block editor but obviously this isn’t going to
   work. Could this error have to do with the Gutenberg plugin settings at all?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/json-publishing-issue/#post-18289801)
 * Hi [@applesandarrows](https://wordpress.org/support/users/applesandarrows/) ,
 * I was not able to reproduce this issue on my end using 2024 theme, on Sensei 
   4.24.5 and WordPress 6.71. Here’s how the course looks like: [https://sensei-paid-test.mystagingwebsite.com/course/new-free-course/](https://sensei-paid-test.mystagingwebsite.com/course/new-free-course/)
 * It’s possible that the issue is not coming from Sensei, but rather the way your
   site is configured. Would you try going through these troubleshooting steps? 
   [https://www.hostinger.com/tutorials/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response](https://www.hostinger.com/tutorials/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response)
 * Specifically, please try checking your permalink settings in WP-admin > Settings
   > Permalinks. Visiting this page and clicking “Save Changes” without any changes
   refreshes the permalink settings, which can often resolve temporary issues
 * I hope that helps! Let us know if you have any other questions.
 *  Thread Starter [applesandarrows](https://wordpress.org/support/users/applesandarrows/)
 * (@applesandarrows)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/json-publishing-issue/#post-18291942)
 * Hi Jay,
 * Thank you for checking. After doing some deeper digging I found that it was the
   Slim SEO plugin that was causing the conflict. I’ve since disabled that plugin
   and sent a message to their developers.
 *  Plugin Support [Alba](https://wordpress.org/support/users/ctdealba/)
 * (@ctdealba)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/json-publishing-issue/#post-18297412)
 * Hi [@applesandarrows](https://wordpress.org/support/users/applesandarrows/)
 * I’m glad you were able to find the conflicting plugin. Thanks for sharing this
   with us and for proactively share this with the Slim SEO plugin developers.
 * If you have any other questions, please let us know.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JSON Publishing issue’ is closed to new replies.

 * ![](https://ps.w.org/sensei-lms/assets/icon-128x128.gif?rev=2914239)
 * [Sensei LMS - Online Courses, Quizzes, & Learning](https://wordpress.org/plugins/sensei-lms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sensei-lms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sensei-lms/)
 * [Active Topics](https://wordpress.org/support/plugin/sensei-lms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sensei-lms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sensei-lms/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Alba](https://wordpress.org/support/users/ctdealba/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/json-publishing-issue/#post-18297412)
 * Status: resolved