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

#   error 0 after applying code

##

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

Less More

- Posts: 176
- Thank you received: 8
-
-

9 years 5 months ago [\#271285](#271285) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271285 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")* was created by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")*

-- url of the page with the problem -- : 121time.com
-- HikaShop version -- : 3.1.1
-- HikaSerial version -- : 1.10.4
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0.7

Hello,

When I apply a discount to a product, I get the following error:

Cannot access protected property checkoutController::$checkout_workflow

But when I come back to the previous page, the voucher has been taken in the cart and everything is correct

any idea?

Thank you for your help!

Jean-Loup

- [ ![cap2017-06-07a17.35.40.jpg](/forum/attachment/38519) ](/forum/attachment/38519 "...7a17.35.40.jpg") [ ](/forum/attachment/38519?download=1 "...7a17.35.40.jpg")
- [ ![cap2017-06-07a17.35.58&#95;2017-06-07.jpg](/forum/attachment/38520) ](/forum/attachment/38520 "...2017-06-07.jpg") [ ](/forum/attachment/38520?download=1 "...2017-06-07.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODkwNTg3LWVycm9yLTAtYWZ0ZXItYXBwbHlpbmctY29kZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

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

9 years 5 months ago [\#271286](#271286) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271286 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Hello,

With the current details ; I can't be sure that your issue is related to HikaSerial.
Please activate temporally the debug mode in your Joomla global configuration in order to have more details about the error ; we need to have a "call stack" or the file (with line) where the error is generated.

Regards,

---

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

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

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

Less More

- Posts: 176
- Thank you received: 8
-
-

9 years 5 months ago [\#271333](#271333) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  Replied by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271333 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Good morning, I did it on my testing environnement and I got this:

Fatal error: Cannot access protected property checkoutController::$checkout_workflow in (...)/administrator/components/com_hikaserial/classes/checkout.php on line 74

I have Jotcache (with Hikashop and Hikaserial excluded) and JCH optimize

Does it help?

Since I'm not a professional IT I give you with pleasure access to the test servers.

Thanks for your help

JL

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

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

Less More

- Posts: 176
- Thank you received: 8
-
-

9 years 5 months ago [\#271335](#271335) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  Replied by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271335 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

I sent you the access to test servers if needed through the contact form
thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODkwNTg3LWVycm9yLTAtYWZ0ZXItYXBwbHlpbmctY29kZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

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

9 years 5 months ago [\#271350](#271350) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271350 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Hello,

Please understand that if we need access, we will ask for accesses.
Thank you for your understanding.

You have to remove the HikaSerial coupon block from your checkout workflow while you're using the non legacy checkout system.
HikaSerial 1.10.4 has been released one year ago ; so that's unfortunately sure that it does not contains the code to handle the new checkout system of HikaShop 3.
Because I'm working as hard as I can on HikaSerial 2.0 ; I'm not able to perform a release right now, but I hope to do it soon.

Regards,

---

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

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

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

Less More

- Posts: 176
- Thank you received: 8
-
-

9 years 5 months ago -  9 years 5 months ago [\#271386](#271386) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  Replied by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271386 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Thanks Jérome, does it mean that we can't use Hikaserial in the meantime?
Since several companies offered voucher to their employees...

Does it mean that if I use the checkout legacy settings it could still work?
I just tried it but got the same 500 error

Strange because we sold several products with voucher these past weeks ???
Can't it be since the version 3.1.1?

Last edit: 9 years 5 months ago by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODkwNTg3LWVycm9yLTAtYWZ0ZXItYXBwbHlpbmctY29kZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

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

9 years 5 months ago [\#271393](#271393) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271393 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Hi,

I'm not saying that.
Please read very very very carefully my message.

> You have to remove the HikaSerial coupon block from your checkout workflow

Regards,

---

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

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

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

Less More

- Posts: 176
- Thank you received: 8
-
-

9 years 5 months ago -  9 years 5 months ago [\#271412](#271412) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  Replied by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271412 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Sorry Jérome, maybe my english... ![;-)](/media/kunena/emoticons/24.png ";-)")
I did that, but now where can the customers enter the coupon if not in the workflow?
Don't understand well, sorry...

BTW I know it's still working except this aspect... means customers having received a personal voucher (bought and paid by their companies)...

Last edit: 9 years 5 months ago by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODkwNTg3LWVycm9yLTAtYWZ0ZXItYXBwbHlpbmctY29kZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

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

9 years 5 months ago [\#271417](#271417) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271417 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Hello,

If you are not using HikaSerial serial during the checkout and only HikaShop coupon ; you can simply use the HikaShop "coupon" block.
The HikaSerial coupon block is there to also allow the serial consumption ; mostly for serials which add a product into the cart or serials which can give points. (or if you have a custom plugin...)
But otherwise, the HikaSerial block do not have a very useful goal.

So if you just have HikaShop coupon (vouchers) ; the HikaShop coupon block is enough.

If not, please details your usecase.

Regards,

---

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

The following user(s) said Thank You: [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")

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

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

Less More

- Posts: 176
- Thank you received: 8
-
-

9 years 5 months ago [\#271433](#271433) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  Replied by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")* on topic *[error 0 after applying code](/forum/14-hikaserial/890587-error-0-after-applying-code#271433 "-- url of the page with the problem -- : 121time.com -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0.7  Hello,  When I apply a discount to a product, I get the following error:  Cannot access protected property checkoutController::$checkout&#95;workflow  But when I come back to the previous page, the voucher has been taken in the cart and everything is correct  any idea?  Thank you for your help!  Jean-Loup")*

Understood Jérôme, and working like a charm.
It took time... sorry to have bother you this way. I was using the Hikaserial coupon for years and couldn't get the point ![:-(](/media/kunena/emoticons/22.png ":-(")
Thank you for your patience...

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.065 seconds

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