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: Publisher breaks grid with relationships.

Status Resolved
Add-on / Version Publisher 1.5.1
Severity Critical
EE Version 2.8.1

Niall O'Brien

Sep 02, 2014

Hi, I created a channel which has a grid of relationships.
I can save the channel entry fine if I do not add anything to the grid. However, as soon as I set a relationship on the grid I get the below error. I have also set Publisher to ignore this fieldtype, then field, then the channel entirely and the error still occurs.

Please advise.

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: fieldtypes/Publisher_relationship.php

Line Number: 49

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: fieldtypes/Publisher_relationship.php

Line Number: 49

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 3

Filename: fieldtypes/Publisher_relationship.php

Line Number: 49

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Users/nobrien/Documents/emagine/president/admin/codeigniter/system/core/Exceptions.php:170)

Filename: core/EE_Input.php

Line Number: 212

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Users/nobrien/Documents/emagine/president/admin/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 447
#1

BoldMinded (Brian)

Niall, its going to be a day or so before I can look into this. I’m on vacation right now.

#2

BoldMinded (Brian)

Niall, open the Publisher_lib.php file and go to line 311, and comment out these 2 lines and see if that resolves it.

https://www.evernote.com/shard/s9/sh/e0ffe140-2e44-4c5c-8d4b-abb872fc66b0/24bf93dfb86d1e54481424288395dafb

#3

BoldMinded (Brian)

Niall, have you had a chance to re-test this?

#4

BoldMinded (Brian)

This fix was included in the 1.5.2 release of Publisher.

Login to reply