Read-Only queries are allowed

Hi

I have created a site : ERPnext + Learning ( LMS ) on Frappe Cloud.

Before I created any Lessons. I have created courses : published , upcoming

When I click on

LMS > Visit LMS Portal

I can see the portal page.

However, the moment I create a Lesson, either from the backend or the frontend, I get a pop-up…

Not permitted
Read-Only queries are allowed

And the moment I delete the Lesson, I can once again see the portal page

I have already used Permissions manager to add LMS Student, Moderator, Course Creator to the role

permissions for Course and Lesson and CHapter

But this did not solve the problem.

Any suggestions please ?