EE4 compatibility updates:
- Publisher is EE4 and EE5 compatible, but it does not currently support the Fluid field (it's in the works).
- Reel is EE4 and EE5 compatible, but it does not currently support the Fluid field.
Ticket: Grid field causing “Unknown column ‘title’ in ‘field list’”
Status | Resolved |
Add-on / Version | Publisher 1.1.2 |
Severity | Critical |
EE Version | 2.7.3 |
Christopher Imrie
Dec 11, 2013I’ve added a Grid fieldtype to an existing channel. It consists of two text input columns.
When clicking publish on a new or existing entry, a DB error is produced by the publisher_model.php:
Error Number: 1054
Unknown column 'title' in 'field list'
INSERT INTO `exp_publisher_data` (`site_id`, `entry_id`, `publisher_lang_id`, `publisher_status`, `publisher_approval_status`, `title`, `channel_id`, `field_id_5`, `field_id_9`, `field_id_10`, `field_id_12`) VALUES ('1', '19', '1', 'open', 'approved', 'Symmetry', '4', 'Some content', '
Some more here
', 'Yes', ' ')
Filename: third_party/publisher/models/publisher_model.php
Line Number: 444
BoldMinded (Deprecated)
You’re using Grid with a column named “title” aren’t you? 😊 Here is the fix:
Christopher Imrie
Works great. Thanks.
I notice that the Grid fields dont respond to the text direction changes (I’m working with a part arabic site). Would your addon be able to intercept the language direction being set and override it like it does with the standard input fields?
BoldMinded (Deprecated)
Dang, I forgot about that part. I’ll have to look into how to fix that. I assume you mean in the CP?
Christopher Imrie
Yes, in the CP.
Apart from this little Grid text direction issue (and the Editor fix I brought up with Devdemon a while back) Publisher has worked brilliantly for us. Really nice work.
BoldMinded (Deprecated)
Good to hear! I’ll take a peak at this hopefully this week, or early next week.