[Skip to main content](#vessel-content)

#   1140 Error backend when clicking on hikashop in components menu

##

- **[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")**
- [![kjeldbagh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile") Topic Author
- [ Offline](/forum/user/38764-kjeldbagh)

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 10 months ago [\#283332](#283332) by [kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")  *[1140 Error backend when clicking on hikashop in components menu](/forum/25-install-update/892946-1140-error-backend-when-clicking-on-hikashop-in-components-menu#283332 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.0.51 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause /home/web1487/www/dindyrlege.com/libraries/joomla/database/driver/mysqli.php:650  Hi,  Getting an error when clicking on Hikashop in the components menu backend.  If I click on any of the submenus, everything is fine.  An ideas?  Regards Kjeld")* was created by *[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")*

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 5.0.51
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
/home/web1487/www/dindyrlege.com/libraries/joomla/database/driver/mysqli.php:650

Hi,

Getting an error when clicking on Hikashop in the components menu backend.

If I click on any of the submenus, everything is fine.

An ideas?

Regards Kjeld
[ ![error1140.png](/forum/attachment/41505) ](/forum/attachment/41505 "error1140.png")

- [ ![error1140.png](/forum/attachment/41505) ](/forum/attachment/41505 "error1140.png") [ ](/forum/attachment/41505?download=1 "error1140.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mjk0Ni0xMTQwLWVycm9yLWJhY2tlbmQtd2hlbi1jbGlja2luZy1vbi1oaWthc2hvcC1pbi1jb21wb25lbnRzLW1lbnU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 10 months ago [\#283358](#283358) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[1140 Error backend when clicking on hikashop in components menu](/forum/25-install-update/892946-1140-error-backend-when-clicking-on-hikashop-in-components-menu#283358 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.0.51 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause /home/web1487/www/dindyrlege.com/libraries/joomla/database/driver/mysqli.php:650  Hi,  Getting an error when clicking on Hikashop in the components menu backend.  If I click on any of the submenus, everything is fine.  An ideas?  Regards Kjeld")*

Hello,

You should see to edit temporally the Joomla core file to have more information regarding the processed query.
[ www.hikashop.com/forum/install-update/89...-version.html#277684](https://www.hikashop.com/forum/install-update/891805-confusing-info-about-hikashop-version.html#277684)

Unfortunately, without knowing what is the processed query ; it will be difficult to fix it (since we cannot reproduce it in our end)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mjk0Ni0xMTQwLWVycm9yLWJhY2tlbmQtd2hlbi1jbGlja2luZy1vbi1oaWthc2hvcC1pbi1jb21wb25lbnRzLW1lbnU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")**
- [![kjeldbagh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile") Topic Author
- [ Offline](/forum/user/38764-kjeldbagh)

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 10 months ago [\#283368](#283368) by [kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")  Replied by *[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")* on topic *[1140 Error backend when clicking on hikashop in components menu](/forum/25-install-update/892946-1140-error-backend-when-clicking-on-hikashop-in-components-menu#283368 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.0.51 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause /home/web1487/www/dindyrlege.com/libraries/joomla/database/driver/mysqli.php:650  Hi,  Getting an error when clicking on Hikashop in the components menu backend.  If I click on any of the submenus, everything is fine.  An ideas?  Regards Kjeld")*

Tx so much for the quick answer.

This is what I am getting. Perhaps something wrong with the order status?

Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause SELECT SUM(hk_order.order_full_price) as value, hk_order.order_currency_id as currency FROM c6l9m_hikashop_order AS hk_order WHERE (hk_order.order_type = 'sale') AND (hk_order.order_status IN ('confirmed','shipped')) AND (hk_order.order_invoice_created &gt;= 1509321600 AND (1511999999 &lt;= 0 OR hk_order.order_invoice_created &lt;= 1511999999))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mjk0Ni0xMTQwLWVycm9yLWJhY2tlbmQtd2hlbi1jbGlja2luZy1vbi1oaWthc2hvcC1pbi1jb21wb25lbnRzLW1lbnU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

8 years 10 months ago [\#283380](#283380) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[1140 Error backend when clicking on hikashop in components menu](/forum/25-install-update/892946-1140-error-backend-when-clicking-on-hikashop-in-components-menu#283380 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.0.51 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause /home/web1487/www/dindyrlege.com/libraries/joomla/database/driver/mysqli.php:650  Hi,  Getting an error when clicking on Hikashop in the components menu backend.  If I click on any of the submenus, everything is fine.  An ideas?  Regards Kjeld")*

Hi,

I think that it's either because you're using an old version of MySQL or that you have the ONLY_FULL_GROUP_BY setting of MySQL activated:
[ dev.mysql.com/doc/refman/5.7/en/sql-mode...e\_only\_full\_group\_by](http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_only_full_group_by)

Add the code: Code:

,'group' =&gt; 'hk_order.order_id'

after the code: Code:

'get' =&gt; 'object', 'select' =&gt; array( 'SUM(hk_order.order_full_price) as value', 'hk_order.order_currency_id as currency' ), 'tables' =&gt; hikashop_table('order') . ' AS hk_order ', 'filters' =&gt; array( 'order_type' =&gt; 'hk_order.order_type = '.$order_type.'', 'order_status' =&gt; ('hk_order.order_status IN ('.implode(',', $valid_order_statuses).')'), 'order_created' =&gt; ($created_status ? 'hk_order.order_created &gt;= {DATE_START} AND ({DATE_END} &lt;= 0 OR hk_order.order_created &lt;= {DATE_END})': 'hk_order.order_invoice_created &gt;= {DATE_START} AND ({DATE_END} &lt;= 0 OR hk_order.order_invoice_created &lt;= {DATE_END})'), )

in the file administrator/components/com_hikashop/classes/statistics.php and that should fix the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mjk0Ni0xMTQwLWVycm9yLWJhY2tlbmQtd2hlbi1jbGlja2luZy1vbi1oaWthc2hvcC1pbi1jb21wb25lbnRzLW1lbnU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")**
- [![kjeldbagh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile") Topic Author
- [ Offline](/forum/user/38764-kjeldbagh)

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 10 months ago -  8 years 10 months ago [\#283458](#283458) by [kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")  Replied by *[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")* on topic *[1140 Error backend when clicking on hikashop in components menu](/forum/25-install-update/892946-1140-error-backend-when-clicking-on-hikashop-in-components-menu#283458 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.0.51 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause /home/web1487/www/dindyrlege.com/libraries/joomla/database/driver/mysqli.php:650  Hi,  Getting an error when clicking on Hikashop in the components menu backend.  If I click on any of the submenus, everything is fine.  An ideas?  Regards Kjeld")*

Hi,

Tx again.

I put the code in like this: Code:

'get' =&gt; 'object', 'select' =&gt; array( 'SUM(hk_order.order_full_price) as value', 'hk_order.order_currency_id as currency' ), 'tables' =&gt; hikashop_table('order') . ' AS hk_order ', 'filters' =&gt; array( 'order_type' =&gt; 'hk_order.order_type = '.$order_type.'', 'order_status' =&gt; ('hk_order.order_status IN ('.implode(',', $valid_order_statuses).')'), 'order_created' =&gt; ($created_status ? 'hk_order.order_created &gt;= {DATE_START} AND ({DATE_END} &lt;= 0 OR hk_order.order_created &lt;= {DATE_END})': 'hk_order.order_invoice_created &gt;= {DATE_START} AND ({DATE_END} &lt;= 0 OR hk_order.order_invoice_created &lt;= {DATE_END})'), ), 'group' =&gt; 'hk_order.order_id'

Still the same error ![:-(](/media/kunena/emoticons/4.png ":-(")

Im also looking into an SQL update.

Last edit: 8 years 10 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mjk0Ni0xMTQwLWVycm9yLWJhY2tlbmQtd2hlbi1jbGlja2luZy1vbi1oaWthc2hvcC1pbi1jb21wb25lbnRzLW1lbnU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")**
- [![kjeldbagh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile") Topic Author
- [ Offline](/forum/user/38764-kjeldbagh)

Less More

- Posts: 20
- Thank you received: 0
-
-

8 years 10 months ago [\#283483](#283483) by [kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")  Replied by *[kjeldbagh](/forum/user/38764-kjeldbagh "View kjeldbagh's Profile")* on topic *[1140 Error backend when clicking on hikashop in components menu](/forum/25-install-update/892946-1140-error-backend-when-clicking-on-hikashop-in-components-menu#283483 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 5.0.51 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause /home/web1487/www/dindyrlege.com/libraries/joomla/database/driver/mysqli.php:650  Hi,  Getting an error when clicking on Hikashop in the components menu backend.  If I click on any of the submenus, everything is fine.  An ideas?  Regards Kjeld")*

SQL update solved the problem together with the above.

Thanks for the great help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Mjk0Ni0xMTQwLWVycm9yLWJhY2tlbmQtd2hlbi1jbGlja2luZy1vbi1oaWthc2hvcC1pbi1jb21wb25lbnRzLW1lbnU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.228 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
