EE compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field.

ExpressionEngine.com licenses:

  • 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: In “Approval Email Text”, the {preview_url} tag will sometimes show as “array()”

Status Resolved
Add-on / Version Publisher Lite 3.2.2
Severity
EE Version 5.3.2

Andrew Studios

Dec 03, 2020

Hey Brian,

The ticket subject really says it all. In the Approvals section, under the Approval Email Text field, I am using the {preview_url} tag. When the email gets sent, on some entries, the tag is replaced with “array()” rather than the URL (or maybe it should just return nothing?).

We are using Structure for the majority of entries (including the ones returning ‘array()’). It is the latest version of Structure.

The draft preview for these entries is fine, and displays as expected.

Cheers!

Andrew.

#1

BoldMinded (Brian)

Dec 04, 2020

Thanks, I’ll take a look at this.

#2

BoldMinded (Brian)

Dec 04, 2020

Can you provide more info? I’m unable to replicate this. I just tested it with Structure as well.

What do your Template Previews settings look like? (screenshot please) /admin.php?/cp/addons/settings/publisher/manage/previews

#3

BoldMinded (Brian)

Dec 27, 2020

Closing this out b/c I haven’t heard a response, and can’t replicate it.

Login to reply