Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR - Megamenu - T3 & PostgreSQL #488

Open
twister65 opened this issue Aug 18, 2017 · 0 comments
Open

ERROR - Megamenu - T3 & PostgreSQL #488

twister65 opened this issue Aug 18, 2017 · 0 comments

Comments

@twister65
Copy link
Contributor

Prerequisites

  • T3 master
  • Joomla! 3.7.4
  • PostgreSQL 9.5.6

Steps to reproduce the issue

  • Administrator login
  • Extensions -> Templates -> Styles -> t3_bs3_blank
  • Click on Megamenu

Result
An error has occurred.
0 ERROR: column "gvcms_menu.language" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT menutype, language ^

Comments
https://github.com/t3framework/t3/blob/master/source/plg_system_t3/includes/admin/megamenu.php
line 214 :
$query = $db->getQuery(true)
->select('menutype, language')
->from($db->quoteName('#__menu'))
->where('published = 1')
->group('menutype');
$db->setQuery($query);
$menulangs = $db->loadAssocList('menutype');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant