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, be sure to visit to add the license to your account here on

Ticket: Undefined offset error when saving draft

Status Resolved
Add-on / Version Publisher 3.2.4
EE Version 6.0.3

Vincent Fierant

Mar 05, 2021

When I want to save a draft of an entry already available in the default language, I get the error below

Undefined offset: 0
user/addons/publisher/legacy/models/publisher_template.php, line 643

Severity: E_NOTICE

I can set error reporting to hidden in the EE settings, which solves it, however, that’s not wanted behaviour. Unsure how to troubleshoot this. Hope you can help.


BoldMinded (Brian)

Mar 05, 2021

What version of PHP are you using?


BoldMinded (Brian)

Mar 05, 2021

I can send a whole new build, but the easiest fix is to change line 643 of that file to this:

$preview = $result[0] ?? [];

Login to reply