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: php errors and empty dropdown in matrix

Status Resolved
Add-on / Version
Severity Critical
EE Version 17

Jelle Dijkstra

Nov 09, 2012

Hi

Used this fieldtype loads of time before, but on this new site it’s throwing php errors:

A PHP Error was encountered
Severity: Warning
Message: in_array() expects parameter 2 to be array, boolean given
Filename: template_snippet_select/ft.template_snippet_select.php
Line Number: 265

And in matrix the dropdown list is empty

#1

Brian Litzinger

The second argument is the selected template setting… Did you save the field settings at least once with or without a value?

#2

Jelle Dijkstra

I just fixed it. It seems it was because i created this field with field editor. This addon does open the first dialog for matrix, but it does not open the “show only selected templates” list. When i opened the field in the standard ee field editing mode, everything worked as normal

#3

BoldMinded (Brian)

Good to hear!

Login to reply