-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The section is not enabled for the site #3767
Comments
@andris-sevcenko maybe related to #3643 |
We're seeing the same error message when saving new entries or categories on a specific site. Specific case: we had 3 sites in the install, removed 2 of them and now saving just about any element throws is this or a related error in the CP. We submitted a request through the request support widget, hope that helps! |
We are seeing the same error when we try to disable a template on one of our sites. |
Experiencing the same as @jcrichto when trying to disable a section (in my case a single type) for a site. |
We had to remove the section completely and re-add and then
everything behaved.
…On Sat, Feb 16, 2019 at 10:35 AM Marius Nettum ***@***.***> wrote:
Experiencing the same as @jcrichto <https://github.com/jcrichto> when
trying to disable a section (in my case a single type) for a site.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3767 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALwUu-ujcViwwxV_bfGiTHwMJZQmvwcks5vODNqgaJpZM4aeMlt>
.
|
Any updates for this issue? We have an install where this happens to every entry as soon as we remove on the sites (that should be removed for this project). |
Are you deleting the site with ID 1 by any chance? I had to do the deletion in the database a couple of weeks ago. |
@janhenckens It’s most likely due to something that’s out of sync between your DB and project config. Can you send in a ticket from your dashboard with as much detail as you can provide? |
@brandonkelly Will do, thanks! |
I had the same problem. I ended up cutting the piece in question from config, then reload the cp. I got an error message that the project config is out of sync. So I clicked the red button. The sync resulted in the same error message again. I then added the piece back in the project config and reloaded the cp. Now the problem is gone. In my case, it was a single section. I wanted to not show a single on several of my sites. When I used the lightswitch ("for site 1") and saved, I ran into the error message. |
Any updates on this matter? I am still having this issue when giving 3.1 another try, now with version 3.1.25. The project config file is already disabled ( Please note that this issue only appears to be triggered when creating a single. Channels and structures both work fine. |
@jermome2710 see #3767 (comment) |
Description
Unfortunately, Craft 3.1 has so many issues, we are reverting back to 3.0.
In this case: when creating a section for a multi site setup, the save fails. The ID of the site was expected, but the section mapping uses handles.
For example, changing:
sites[customSiteHandle][uriFormat]
to:
sites[1][uriFormat]
works.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: