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

#   Hikashop Dashboard: Error 1054 Unknown Column

##

- **[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")**
- [![MSTACE's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-05.jpeg)](/forum/user/7448-mstace "View MSTACE's Profile") Topic Author
- [ Offline](/forum/user/7448-mstace)

Less More

- Posts: 301
- Thank you received: 11
-
-

10 years 3 months ago [\#246570](#246570) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  *[Hikashop Dashboard: Error 1054 Unknown Column](/forum/2-general-talk-about-hikashop/885798-hikashop-dashboard-error-1054-unknown-column#246570 "-- url of the page with the problem -- :   www.grocerbob.com/  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6.23 -- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created  Anytime you try to go to the Hikashop Dashboard in the Admin area, it creates this error:  1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created ")* was created by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")*

-- url of the page with the problem -- : [ www.grocerbob.com/](http://www.grocerbob.com/)
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.6.23
-- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'a.user_created' in 'where clause' SQL=SELECT *, SUM(order_product_quantity) as Total FROM #__hikashop_order as a LEFT JOIN #__hikashop_order_product as prod ON a.order_id=prod.order_id LEFT JOIN #__hikashop_product AS p ON p.product_id=prod.product_id LEFT JOIN #__hikashop_product_category as cat ON cat.product_id=p.product_id OR cat.product_id=p.product_parent_id LEFT JOIN #__hikashop_category as c ON cat.category_id=c.category_id WHERE a.user_created &gt; 1451606400 AND a.user_created

Anytime you try to go to the Hikashop Dashboard in the Admin area, it creates this error:

1054 Unknown column 'a.user_created' in 'where clause' SQL=SELECT *, SUM(order_product_quantity) as Total FROM #__hikashop_order as a LEFT JOIN #__hikashop_order_product as prod ON a.order_id=prod.order_id LEFT JOIN #__hikashop_product AS p ON p.product_id=prod.product_id LEFT JOIN #__hikashop_product_category as cat ON cat.product_id=p.product_id OR cat.product_id=p.product_parent_id LEFT JOIN #__hikashop_category as c ON cat.category_id=c.category_id WHERE a.user_created &gt; 1451606400 AND a.user_created &lt; 1469695997 GROUP BY c.category_id ORDER BY Total DESC LIMIT 10

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NTc5OC1oaWthc2hvcC1kYXNoYm9hcmQtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

10 years 3 months ago [\#246573](#246573) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop Dashboard: Error 1054 Unknown Column](/forum/2-general-talk-about-hikashop/885798-hikashop-dashboard-error-1054-unknown-column#246573 "-- url of the page with the problem -- :   www.grocerbob.com/  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6.23 -- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created  Anytime you try to go to the Hikashop Dashboard in the Admin area, it creates this error:  1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created ")*

Hi,

It comes from the MySQL query of one of your reports.
Go in Orders&gt;Reports and disable the reports one by one to find the culprit.
Then, try creating it again and see if you get the error again.
If you do, please provide a screenshot of the settings of the report so that we can try reproducing the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NTc5OC1oaWthc2hvcC1kYXNoYm9hcmQtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")**
- [![MSTACE's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-05.jpeg)](/forum/user/7448-mstace "View MSTACE's Profile") Topic Author
- [ Offline](/forum/user/7448-mstace)

Less More

- Posts: 301
- Thank you received: 11
-
-

10 years 3 months ago -  10 years 3 months ago [\#246627](#246627) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  Replied by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")* on topic *[Hikashop Dashboard: Error 1054 Unknown Column](/forum/2-general-talk-about-hikashop/885798-hikashop-dashboard-error-1054-unknown-column#246627 "-- url of the page with the problem -- :   www.grocerbob.com/  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6.23 -- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created  Anytime you try to go to the Hikashop Dashboard in the Admin area, it creates this error:  1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created ")*

It was this report:  **Five best categories over the last two weeks**
Clicking on this report, even when it is unpublished, causes that same error.

Since I don't know what selections made that report I can't exactly recreate it.

Last edit: 10 years 3 months ago by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NTc5OC1oaWthc2hvcC1kYXNoYm9hcmQtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

10 years 3 months ago -  10 years 3 months ago [\#246661](#246661) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Hikashop Dashboard: Error 1054 Unknown Column](/forum/2-general-talk-about-hikashop/885798-hikashop-dashboard-error-1054-unknown-column#246661 "-- url of the page with the problem -- :   www.grocerbob.com/  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6.23 -- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created  Anytime you try to go to the Hikashop Dashboard in the Admin area, it creates this error:  1054 Unknown column 'a.user&#95;created' in 'where clause' SQL=SELECT &#42;, SUM(order&#95;product&#95;quantity) as Total FROM #&#95;&#95;hikashop&#95;order as a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product as prod ON a.order&#95;id=prod.order&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product AS p ON p.product&#95;id=prod.product&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;product&#95;category as cat ON cat.product&#95;id=p.product&#95;id OR cat.product&#95;id=p.product&#95;parent&#95;id LEFT JOIN #&#95;&#95;hikashop&#95;category as c ON cat.category&#95;id=c.category&#95;id WHERE a.user&#95;created &gt; 1451606400 AND a.user&#95;created ")*

Hello,

Theorically, if the report is **unpublished** and the issue **still** here **it's not**link...
And so, **which reasons** leads you to tell that this is this report the root issue ?
If when you switch off **ALL** reports, does the issue is still here ?

Awaiting news from you.

Regards

Last edit: 10 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4NTc5OC1oaWthc2hvcC1kYXNoYm9hcmQtZXJyb3ItMTA1NC11bmtub3duLWNvbHVtbj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.097 seconds

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