All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Grid field error

Status Resolved
Add-on / Version Publisher 1.1.2
Severity Critical
EE Version 2.7

VitaClick™

Sep 29, 2013

Hello,

Publishing an entry with grid field is causing PHP error:

A Database Error Occurred
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_1`, `field_id_2`) VALUES ('1', 6, '1', 'open', 'approved', 'dsfgdsgf', '2', ' ', 'o')

Filename: third_party/publisher/models/publisher_model.php

Line Number: 444

 

#1

BoldMinded (Brian)

Are you positive you’re running 1.0.12 and have upgraded all the files? I can’t replicate this locally and have been working on full Grid support for awhile and have never encountered this error.

FYI, Grid does not work with Publisher yet. It might save the data, but it won’t be language specific or work with drafts.

#2

VitaClick™

Yep everything is installed properly.

If you say publisher doesn’t support Grid i would use Matrix instead, but there is another problem i get using Matrix with publisher:

A PHP Error was encountered

Severity: Notice

Message: Undefined index: open

Filename: models/publisher_site_pages.php

Line Number: 421

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/publisher_site_pages.php

Line Number: 421

A PHP Error was encountered

Severity: Notice

Message: Undefined index: draft

Filename: models/publisher_site_pages.php

Line Number: 421

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/publisher_site_pages.php

Line Number: 421

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /public_html//system/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 809

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /public_html/system/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 414
#3

VitaClick™

Just removed Structure and Matrix error above has gone. Why its happening?

#4

BoldMinded (Brian)

Was it a clean install of Structure with no pages?

#5

VitaClick™

ok thank you, i see now where my error was.

Login to reply