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

#   Error 1054 when disabling Opening Hours Plug-IN

##

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 7 months ago [\#267276](#267276) by [Jim](/forum/user/48118-jim "View Jim's Profile")  *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267276 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")* was created by *[Jim](/forum/user/48118-jim "View Jim's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5

Hi,

when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message

1054 Unknown column 'shipping_id' in 'where clause' SQL=UPDATE #__hikashop_plugin SET shipping_published = 0 WHERE shipping_id IN ( 9 )

You can see in attached pic.

- [ ![hika70&#95;2017-04-12.png](/forum/attachment/37638) ](/forum/attachment/37638 "...2017-04-12.png") [ ](/forum/attachment/37638?download=1 "...2017-04-12.png")

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 7 months ago [\#267303](#267303) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267303 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Hi,

I'm not able to reproduce the problem on my end.
Could you provide the URL of the page where you do that and the full error message you have when you reproduce it with the "debug mode" and "error reporting" settings of the Joomla configuration activated ?
That should give us more insight on what's going on.

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 7 months ago [\#267328](#267328) by [Jim](/forum/user/48118-jim "View Jim's Profile")  Replied by *[Jim](/forum/user/48118-jim "View Jim's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267328 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Hi,

1054 Unknown column 'shipping_id' in 'where clause' SQL=UPDATE ww3b8_hikashop_plugin SET shipping_published = 0 WHERE shipping_id IN ( 5 )
Call stack
\# Function Location
1 JApplicationCms-&gt;execute() /storage/h4/160/885160/public_html/administrator/index.php:51
2 JApplicationAdministrator-&gt;doExecute() /storage/h4/160/885160/public_html/libraries/cms/application/cms.php:261
3 JApplicationAdministrator-&gt;dispatch() /storage/h4/160/885160/public_html/libraries/cms/application/administrator.php:152
4 JComponentHelper::renderComponent() /storage/h4/160/885160/public_html/libraries/cms/application/administrator.php:98
5 JComponentHelper::executeComponent() /storage/h4/160/885160/public_html/libraries/cms/component/helper.php:380
6 require_once() /storage/h4/160/885160/public_html/libraries/cms/component/helper.php:405
7 hikashopController-&gt;execute() /storage/h4/160/885160/public_html/administrator/components/com_hikashop/hikashop.php:54
8 JControllerLegacy-&gt;execute() /storage/h4/160/885160/public_html/administrator/components/com_hikashop/helpers/helper.php:1728
9 PluginsController-&gt;unpublish() /storage/h4/160/885160/public_html/libraries/legacy/controller/legacy.php:702
10 hikashopController-&gt;unpublish() /storage/h4/160/885160/public_html/administrator/components/com_hikashop/controllers/plugins.php:49
11 hikashopController-&gt;_toggle() /storage/h4/160/885160/public_html/administrator/components/com_hikashop/helpers/helper.php:1602
12 JDatabase-&gt;query() /storage/h4/160/885160/public_html/administrator/components/com_hikashop/helpers/helper.php:1638
13 JDatabaseDriverMysqli-&gt;execute() /storage/h4/160/885160/public_html/libraries/joomla/database/database.php:33

Will send you the Login through your contact form.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4OTc4Ny1lcnJvci0xMDU0LXdoZW4tZGlzYWJsaW5nLW9wZW5pbmctaG91cnMtcGx1Zy1pbj90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 7 months ago [\#267338](#267338) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267338 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Hello,

Please edit the file "administrator/components/com_hikashop/controllers/plugins.php" and replace the function _getToggle with that content Code:

function _getToggle() { $this-&gt;type = JRequest::getCmd('plugin_type'); if($this-&gt;type == 'plugin') { $this-&gt;toggle = array('plugin_published' =&gt; 'plugin_id'); } else if($this-&gt;type == 'payment') { $this-&gt;toggle = array('payment_published' =&gt; 'payment_id'); } else { $this-&gt;toggle = array('shipping_published' =&gt; 'shipping_id'); } }

I think it will fix your issue.
But we will need your confirmation in order to integrate the patch in HikaShop.

Regards,

---

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

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 7 months ago [\#267366](#267366) by [Jim](/forum/user/48118-jim "View Jim's Profile")  Replied by *[Jim](/forum/user/48118-jim "View Jim's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267366 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Thx, this fixed it. Works fine.

I noticed another thing. When I reopen an existing day, the hours field is blank. See attached a pic.

- [ ![ecc2aa8d-1050-4a27-a4bb-ca6c27506f94.png](/forum/attachment/37665) ](/forum/attachment/37665 "...6c27506f94.png") [ ](/forum/attachment/37665?download=1 "...6c27506f94.png")

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 7 months ago [\#267399](#267399) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267399 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Hi,

I'm not able to reproduce that, neither on my end, nor on your website:
[ monosnap.com/file/fZPtfjCrFGSCHuU0hQHmo6Co1zRoes](https://monosnap.com/file/fZPtfjCrFGSCHuU0hQHmo6Co1zRoes)

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 7 months ago [\#267441](#267441) by [Jim](/forum/user/48118-jim "View Jim's Profile")  Replied by *[Jim](/forum/user/48118-jim "View Jim's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267441 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

HI,

I see, interessting. I have a copy of that site offline for development. There I experience this issue. Any idea what it could be?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4OTc4Ny1lcnJvci0xMDU0LXdoZW4tZGlzYWJsaW5nLW9wZW5pbmctaG91cnMtcGx1Zy1pbj90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 7 months ago [\#267480](#267480) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267480 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Hello,

You can activate the Joomla debug mode in your offline website ; it will allow you to see the SQL queries made for the page loading.
The plugin should load the configuration from the database and if you see the fields empty, it means that there is an issue with the loading of the data.
But because we are not able to reproduce, it will be difficult for us to give you more indication on where the problem would be.

Regards,

---

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

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 7 months ago -  9 years 7 months ago [\#267540](#267540) by [Jim](/forum/user/48118-jim "View Jim's Profile")  Replied by *[Jim](/forum/user/48118-jim "View Jim's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267540 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Hi,

I have been trying around a bit.

Online, on the side you have access to, this is a complete new setup of joomla and hikashop 3.0.1.

When I do an update of an f.e. 2.6.4 HIkasShop installation to 3.0.1 and I configure an Opening Hours Plugin.
I will see the entry in HikaShop when I go to Plugins, but in _hikashop_plugin, the table is empty. So this explains to me why I won't see any time when I open up the entry.

You have any idea why this could happen?

PS: I have add an entry by hand in _hikashop_plugin, but it won't show up in Plugins on Hikashop

Last edit: 9 years 7 months ago by [Jim](/forum/user/48118-jim "View Jim's Profile").

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 7 months ago [\#267555](#267555) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error 1054 when disabling Opening Hours Plug-IN](/forum/27-checkout/889787-error-1054-when-disabling-opening-hours-plug-in#267555 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  when I tried to disable a entry I have made with HikaShop Closing Hours Plug-IN I get the error message  1054 Unknown column 'shipping&#95;id' in 'where clause' SQL=UPDATE #&#95;&#95;hikashop&#95;plugin SET shipping&#95;published = 0 WHERE shipping&#95;id IN ( 9 )  You can see in attached pic.")*

Hi,

I don't see how you could have something on the listing of the plugins in the menu System&gt;Plugins with the hikashop_plugin table empty. I'm not able to reproduce and looking at the code I don't see how that could happen.

If you configure an entry in the menu System&gt;Plugins, then you should see it there after your save &amp; close it, and it should be stored there.

Note however that the plugin will only work with the new checkout of HikaShop 3. So the checkout legacy setting, which is turned on by default when you update from a 2.6.x, has to be turned off.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4OTc4Ny1lcnJvci0xMDU0LXdoZW4tZGlzYWJsaW5nLW9wZW5pbmctaG91cnMtcGx1Zy1pbj90bXBsPW1hcmtkb3du) 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.073 seconds

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