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

#   Coupon Free Product Plugin Causes Checkout Error

##

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

Less More

- Posts: 81
- Thank you received: 9
-
-

2 years 3 months ago [\#362645](#362645) by [Leilahodgkins](/forum/user/5728-leilahodgkins "View Leilahodgkins's Profile")  *[Coupon Free Product Plugin Causes Checkout Error](/forum/46-discount-coupon/908503-coupon-free-product-plugin-causes-checkout-error#362645 "-- url of the page with the problem -- :   hatsukoi.co.uk/freetest/  -- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.2  Hi there  I just purchased the Coupon Free Product plugin to add a free item with a coupon code.  It all seemed to work OK until I noticed that if you come out of the checkout and then try to go back using the basket link, it causes a fatal error.  I am working this test site:   hatsukoi.co.uk/freetest/  You can add any items to the basket and then use the code FREE at the checkout to load the free product. However, if you click on the mini basket module, for example if you look at another product, you then get the red fatal error screen (attached).  I don't have an override for that module so I wonder if there is something else causing the error... The only thing I can think of that might be strange about the free product is that its category is outside of 'product category' and is directly under 'root'.  I'd be grateful if you could let me know if you think I'm doing something wrong at this end?  Many thanks Leila")* was created by *[Leilahodgkins](/forum/user/5728-leilahodgkins "View Leilahodgkins's Profile")*

-- url of the page with the problem -- : [ hatsukoi.co.uk/freetest/](https://hatsukoi.co.uk/freetest/)
-- HikaShop version -- : 5.1.0
-- Joomla version -- : 5.1.2
-- PHP version -- : 8.2

Hi there

I just purchased the Coupon Free Product plugin to add a free item with a coupon code.

It all seemed to work OK until I noticed that if you come out of the checkout and then try to go back using the basket link, it causes a fatal error.

I am working this test site:
[ hatsukoi.co.uk/freetest/](https://hatsukoi.co.uk/freetest/)

You can add any items to the basket and then use the code FREE at the checkout to load the free product. However, if you click on the mini basket module, for example if you look at another product, you then get the red fatal error screen (attached).

I don't have an override for that module so I wonder if there is something else causing the error... The only thing I can think of that might be strange about the free product is that its category is outside of 'product category' and is directly under 'root'.

I'd be grateful if you could let me know if you think I'm doing something wrong at this end?

Many thanks
Leila

- [ ![checkout-voucher-free-product-screen.jpg](/forum/attachment/59609) ](/forum/attachment/59609 "...uct-screen.jpg") [ ](/forum/attachment/59609?download=1 "...uct-screen.jpg")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

2 years 3 months ago -  2 years 3 months ago [\#362647](#362647) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Coupon Free Product Plugin Causes Checkout Error](/forum/46-discount-coupon/908503-coupon-free-product-plugin-causes-checkout-error#362647 "-- url of the page with the problem -- :   hatsukoi.co.uk/freetest/  -- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.2  Hi there  I just purchased the Coupon Free Product plugin to add a free item with a coupon code.  It all seemed to work OK until I noticed that if you come out of the checkout and then try to go back using the basket link, it causes a fatal error.  I am working this test site:   hatsukoi.co.uk/freetest/  You can add any items to the basket and then use the code FREE at the checkout to load the free product. However, if you click on the mini basket module, for example if you look at another product, you then get the red fatal error screen (attached).  I don't have an override for that module so I wonder if there is something else causing the error... The only thing I can think of that might be strange about the free product is that its category is outside of 'product category' and is directly under 'root'.  I'd be grateful if you could let me know if you think I'm doing something wrong at this end?  Many thanks Leila")*

Hello,

Your issue seems to be linked to your **Google Analytics** plugin.
Can you confirm that you are using the latest version of the Google Analytics plugin?

If you aren't sure, you can update to the **latest version** for free to see if it can solve your problem.
You can't get the latest version, **[ here](https://www.hikashop.com/marketplace/product/108-integration-google.html)**.

Regards

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

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

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

Less More

- Posts: 81
- Thank you received: 9
-
-

2 years 3 months ago [\#362656](#362656) by [Leilahodgkins](/forum/user/5728-leilahodgkins "View Leilahodgkins's Profile")  Replied by *[Leilahodgkins](/forum/user/5728-leilahodgkins "View Leilahodgkins's Profile")* on topic *[Coupon Free Product Plugin Causes Checkout Error](/forum/46-discount-coupon/908503-coupon-free-product-plugin-causes-checkout-error#362656 "-- url of the page with the problem -- :   hatsukoi.co.uk/freetest/  -- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.2  Hi there  I just purchased the Coupon Free Product plugin to add a free item with a coupon code.  It all seemed to work OK until I noticed that if you come out of the checkout and then try to go back using the basket link, it causes a fatal error.  I am working this test site:   hatsukoi.co.uk/freetest/  You can add any items to the basket and then use the code FREE at the checkout to load the free product. However, if you click on the mini basket module, for example if you look at another product, you then get the red fatal error screen (attached).  I don't have an override for that module so I wonder if there is something else causing the error... The only thing I can think of that might be strange about the free product is that its category is outside of 'product category' and is directly under 'root'.  I'd be grateful if you could let me know if you think I'm doing something wrong at this end?  Many thanks Leila")*

Hi Philip

That fixed it! I updated the GA4 plugin and it all works well now. Many thanks for your help with that, I really appreciate it.

Best wishes
Leila

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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