test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • abrill Friend
    #167112

    We updated to 1.7 on our local server and received this error

    Fatal error: Cannot instantiate abstract class JDatabaseQuery in C:xampphtdocstestpluginssystemjat3jat3corejoomlamodulehelper.php on line 292

    What do we need to do to fix?

    John Wesley Brett Moderator
    #404694

    Change the code in the modulehelper.php file

    GOTO: [FONT=”Arial Black”]yoursite/plugins/system/jat3/jat3/core/joomla/modulehelper.php[/FONT]

    The problem code is on line 292

    $Itemid = JRequest::getInt('Itemid');
    $app = JFactory::getApplication();
    $user = JFactory::getUser();
    $groups = implode(',', $user->getAuthorisedViewLevels());
    $db = JFactory::getDbo();
    jimport("joomla.database.databasequery");
    // comment out the line below
    // $query = new JDatabaseQuery;
    // add the line below

    $query = $db->getQuery(true);
    $query->select('id, title, module, position, content, showtitle, params, mm.menuid');
    $query->from('#__modules AS m');
    $query->join('LEFT','#__modules_menu AS mm ON mm.moduleid = m.id');
    $query->where('m.published = 1');

    That should do it!
    Have fun!
    John.

    chavan Friend
    #405265

    Hi abrill

    You need to upgrade to latest version of JA T3 plugin (1.3.0 stable) to avoid other similar bugs.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 3 voices, and was last updated by  chavan 13 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum