?
avatar paul-muckypuddle
paul-muckypuddle
11 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 - 11 Dec 2014
avatar jissues-bot jissues-bot - change - 11 Dec 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 13 Dec 2014
Category Libraries
avatar brianteeman brianteeman - change - 3 Jan 2015
Category Libraries Libraries Tags
avatar roland-d
roland-d - comment - 12 Dec 2015

Hello @paul-muckypuddle

Thank you for your contribution.

The last comment here was on December 11, 2014. So the question is, Is this issue/pull request still valid? I noticed the line numbers are no longer matching.

If no reply is received within 4 weeks we will close this issue.

Thanks for understanding!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5404.

avatar brianteeman brianteeman - change - 12 Dec 2015
Status New Information Required
avatar brianteeman brianteeman - change - 16 Jan 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-01-16 10:52:33
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 16 Jan 2016

Closed as per the last comment


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5404.

avatar brianteeman brianteeman - close - 16 Jan 2016

Add a Comment

Login with GitHub to post a comment