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

Query references non-existent field_group

Developer Preview

Low's avatar
Low
407 posts
7 years ago
Low's avatar Low

In channel_model.php#52, the get_channels() method, I can see this select statement:

$this->db->select('channel_title, channel_name, channel_id, cat_group, field_group');

This includes the now non-existent field_group column. I haven’t come across an actual error yet, but I’m guessing that’s just a matter of time. 😉 I can see more references to that column elsewhere in the file.

I can see it’s still in the legacy directory, does that matter at all? The current Channel module still uses it, anyways.

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
7 years ago
Kevin Cupp's avatar Kevin Cupp

There are no code paths in EE that will execute the code in the legacy channel model that selects that column, so you’ll only see it if add-ons call it. But we can remove that column from the selection just in case.

If it’s in legacy, it doesn’t really mean it’s deprecated, just means you probably shouldn’t use it for new development if there’s something better available or if it’s going to make things difficult for you later.

       

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.