Kan geen nieuwe categorie invoeren die ik heb gemaakt. Gelieve te helpen

AI-generated summary

Yariv_Cohen reported an issue with a newly created category that couldn’t be accessed properly and was visible to all users instead of only trust level 4. The category had a Hebrew slug, which caused problems, and attempts to enter it resulted in errors. dax identified the issue as the category’s slug being a number and advised deleting it via the Rails console. Yariv_Cohen confirmed the category was successfully removed after following the instructions.

Hi all,
Today I added a new category on mobile, only for trust level 4 users. I just added a category name, added a URL address in Hebrew (maybe that was the problem), changed the URL, and clicked the “new category” button, but something went wrong and the browser sent me to a page that tells me to try and delete the cache/cookies and reload. I just reloaded the page and got another error of “too many requests from the ip” or something like that.
Anyways, the category is seen now on the main categories page, but seen by all users and not only by trust level 4 users. When someone clicks it, it just tries to reload and gets stuck…
Any ideas? I cant even delete the category because I can’t enter it.


Thank you

What’s the category’s slug?

I think it was
ניסויים
It’s in Hebrew..

Are you on the latest version of Discourse?

Can you add a link to the category here or in a PM?

Just sent PM with user and pass

Thank you

Looking at your site the problem of that category is the slug used (a number) so you should either reset the slug or delete the category. Since the category has just been created and does not contain topics, you can proceed with its cancellation

cd /var/discourse
./launcher enter app
rails c
c=Category.find(14)
c.destroy

where 14 is the category_id

Thank you. Now it’s gone :slight_smile: