Problem with the mod_k2_content_tag module

70 views
Skip to first unread message

Ian Murphy

unread,
Jan 17, 2012, 11:22:16 AM1/17/12
to K2 Support
This module allows us to select documents by categories and keyword.
However if you choose one or more categories *and* a some keywords
then the module returns nothing.

This should work shouldn't it?

Ian

Ian Murphy

unread,
Jan 29, 2012, 7:56:26 PM1/29/12
to K2 Support

I've tracked this problem down to a particular. In helper.php line 78
reads:

$categories = K2ModelItemlist::getCategoryChilds($cid);

If I comment out this line and subsequent lines, the it displays
something. If I leave the line, I end up with a blank page.

I've tried wrapping it in a try..catch block but it has no effect. Php
isn't exactly my thing so I'm not sure why this occurs. If something
is failing then a try..catch block should catch the exception, no?

Any suggestions?
Reply all
Reply to author
Forward
0 new messages