? Success

User tests: Successful: Unsuccessful:

avatar paul-muckypuddle
paul-muckypuddle
9 Dec 2014

When using getTagItemsQuery() in JHelperTags you can specify whether or not to include_children. Setting this to 'true' ends up in a call to getTagTreeArray() (line 511), whereby an attempt is made to instantiate an JTable object (line 642). However, as the include path isn't updated to include the necessary tables folder this fails, and calling the isLeaf() method (line 644) on the supposed JTable results in:

Fatal error: Call to a member function isLeaf() on a non-object in /home/account/public_html/libraries/cms/helper/tags.php on line 647

I think the fix is just to update the include path before the instantiation - tried it on my J! 3.3.6 install and the error disappears.

avatar muckypuddle muckypuddle - open - 9 Dec 2014
avatar jissues-bot jissues-bot - change - 9 Dec 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 10 Dec 2014
Category Tags
avatar wilsonge
wilsonge - comment - 15 Dec 2014

Merging on code review

avatar wilsonge wilsonge - close - 15 Dec 2014
avatar wilsonge wilsonge - change - 15 Dec 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-12-15 10:20:09

Add a Comment

Login with GitHub to post a comment