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: Category custom field error: No such property: ‘legacy_field_data’

Status Resolved
Add-on / Version Publisher 2.8.2
Severity
EE Version 3.5.16

Kevin Chatel

Jun 21, 2018

Description:

Hi, I have a custom category field called ‘redirect_link’. I am using the publisher translate_category function to return the translated categories, although my custom field seems to be breaking the page and throwing an exception, ’No such property: ‘legacy_field_data’ on EllisLab\ExpressionEngine\Model\Category\CategoryField’

ee/EllisLab/ExpressionEngine/Library/Data/Entity.php:466

Detailed steps to reproduce the issue:
1.
2.
3.

#1

BoldMinded (Brian)

Template code:

{exp:channel:categories category_group="1" style="linear"}
{exp:publisher:translate_category cat_id="{category_id}"}
<div class="filterLink" >
    <a href="http://{if" class="filter">{cat_name}</a>
</div>
{/exp:publisher:translate_category}
{/exp:channel:categories}
#2

BoldMinded (Brian)

How did the change I suggested in Slack work out?

Line 1376 of Publisher_channel_categories.php

if (isset($cat_field->legacy_field_data) && $cat_field->legacy_field_data)
#3

Kevin Chatel

Hi Brian, it gave us a different error.

No such method getColumnNames. ee/EllisLab/ExpressionEngine/Library/Mixin/Manager.php:143

here is the stack trace

https://gyazo.com/fc2b85ec4e64394124c0d4bd22a52eb5

#4

BoldMinded (Brian)

Comment has been marked private.

#5

BoldMinded (Brian)

This is fixed in the 2.8.3 release.

Login to reply