may break PL+

Permalink Browser Info Environment

Really quick.
Are you using CollectionAttributeKey::getIndexedSearchTable()?

If so, FYI, will generate undefined error

Type: Discussion
Status: Resolved
View Replies:
SkyBlueSofa replied on at Permalink Reply
I've fixed this issue for all versions of c5.7.3+

Using your code as a starting point and reviewing the core code, I replaced
$columns = $db->MetaColumns(CollectionAttributeKey::getIndexedSearchTable());
$collectionAttributeKey = new CollectionAttributeKey();
$columns = $db->MetaColumns($collectionAttributeKey->getIndexedSearchTable());
I'm not sure why I did that previously since the getIndexedSearchTable method wasn't static. Anyway, this should resolve your issue.
katz515 replied on at Permalink Reply
Ohhhh I see!

That's why!

Actually the code was originally at the controller of original Page List block.
I think you just copied from the PL

concrete5 Environment Information


Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.