We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Exception Caught SQLSTATE[42S22]: Column not found

Development and Programming

stereoi123's avatar
stereoi123
35 posts
2 years ago
stereoi123's avatar stereoi123

Hello! I am hoping someone can help me with this. It appears my EE database may be corrupt. I am receiving the following error when trying to access a template from the front-end on a site in development:

Exception Caught SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘field_id_11’ in ‘field list’:

I have attached a screenshot with the error message and stack trace.

For background: The template in question holds the code for Solspace Calendar ics_subscription.

Can anyone guide me in how to fix this? I have database backups, but not exactly sure when this started happening.

Thank you! -JP

       
stereoi123's avatar
stereoi123
35 posts
2 years ago
stereoi123's avatar stereoi123

OK, it looks like I found and fixed the issue:

As part of the Solspace Calendar Fieldtype settings, we select which fields to use for ICS Description and ICS Location. We had set Location to “Do not use this field” but left an older field selection for ICS Description. I more than likely changed/removed the description field, but had not updated the ICS Description Field selection in the Calendar Fieldtype Settings.

All appears to be working well for now.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.