-
Notifications
You must be signed in to change notification settings - Fork 7
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
Invalid field layout ID #84
Comments
Fortunately I had a database backup from the last time I worked on the project and didn't lose anything. For a paid plugin that's only supposed to enable an organization layer, this is a pretty big concern. I was completely shut out of the control panel, and reviewing the database, that ID exists. |
As soon as I hit Install on the plugin again—which was uninstalled following the database backup restore, I get the error again. If I can't rely on the plugin, I'd like to fully uninstall it, as there are still database tables intact from when it was installed. Here's the full trace: yii\base\InvalidConfigException: Invalid field layout ID: 30 in /Users/markreeves/Sites/idg/codiak/craft/vendor/craftcms/cms/src/behaviors/FieldLayoutBehavior.php:124 |
I also encountered #57 when I was removing the field layouts. |
After removing the plugin (see #85),
Table |
Hi @circa1977, sorry you’re experiencing this issue. Whilst I’m working on a fix for #79 you could try dropping that table entirely if you don’t mind losing the field configurations. It was an oversight on my part to not drop it when running uninstall - I will fix that during this next sprint. If you want to resolve the error temporarily, I think what you’re running into can be solved by removing the fields and tabs from the field layouts like you did initially, then hitting save on the grouping view again. Alternatively I would do a full restore from before the upgrade and pin your Craft version to 3.3.x until I get it working on 3.4.x |
If I enable the plugin, I can't access anything in the control panel. The moment I removed those fields, a disconnect emerged. Rolling back the database showed the plugin present, but not installed. If I install it, every control panel returns that error. I had to remove the plugin. I've been purposely staying very lean on plugins in Craft to avoid conflicts and upgrade issues. Lesson learned, I think. I don't think I can justify this one. |
I just ran into Issue #79. So I removed the fields from the field layouts I had created and deleted the field layout tabs...and now my entire control panel is inaccessible.
Craft 3.4.1.
The text was updated successfully, but these errors were encountered: