I've installed this link manager 2.0f to my zen cart and I found error in admin under extras --> links. It gives this error and I could not get link manager to work.

Fatal error: Cannot use object of type queryFactoryResult as array in /home/caweb/public_html/admin/links.php on line 554

I open up the file links.php and on line 554 it show this
$categories_query = "select lcd.link_categories_name as links_category from " . TABLE_LINKS_TO_LINK_CATEGORIES . " l2lc left join " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd on lcd.link_categories_id = l2lc.link_categories_id where l2lc.links_id = '" . (int)$links['links_id'] . "' and lcd.language_id = '" . $_SESSION['languages_id'] . "'";


Could anyone here please kindly to help me to resolve this problem? I am using zen cart 1.3.6 running on PHP Version: 5.0.5 (Zend: 2.0.5) and MySQL version 4.1.21-standard

Thank you in advance and helps appreciated.