- Posts: 11
- Thank you received: 1
Fatal PHP Error in Checkout
- vaki2@hikashop
-
Topic Author
- Offline
Less
More
9 years 8 months ago - 9 years 8 months ago #263835
by vaki2@hikashop
Fatal PHP Error in Checkout was created by vaki2@hikashop
Edit: I accidentally posted this in the wrong subforum. I meant to have placed it in the Checkout forum
Hello,
I posted here before about a PHP error I was getting in hikashop when I was using RSVP pro that I was able to fix, but I am now receiving the same error again. This time, I know what the issue is. The issue is dealing with auto loading a coupon into the cart.
I have a coupon for Local Residency that gets applied automatically if your country address is where the event is hosted. The Checkout works 100% fine only if I choose that specific country. But if I choose any other country besides the one that I have set to auto load, the site will crashes with the same error I was getting before
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /libraries/joomla/filter/input.php on line 809
Disabling auto load will fix this problem. I also tried making a coupon called Out of Country to be auto loaded when a user chooses any other country that is not the host country, but the issue still persists.
I also have tried making a discount instead, but for some reason, discounts do not seem to work. When I make a discount to be added on based on a country selection, it will show the discount next to the price of the item, for example, $100 - 15%, but it will not update the total price. Its appearance is working as it should, since if I pick any other country, it will not show the -15%, but choosing the correct country will make it show up.
Hello,
I posted here before about a PHP error I was getting in hikashop when I was using RSVP pro that I was able to fix, but I am now receiving the same error again. This time, I know what the issue is. The issue is dealing with auto loading a coupon into the cart.
I have a coupon for Local Residency that gets applied automatically if your country address is where the event is hosted. The Checkout works 100% fine only if I choose that specific country. But if I choose any other country besides the one that I have set to auto load, the site will crashes with the same error I was getting before
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /libraries/joomla/filter/input.php on line 809
Disabling auto load will fix this problem. I also tried making a coupon called Out of Country to be auto loaded when a user chooses any other country that is not the host country, but the issue still persists.
I also have tried making a discount instead, but for some reason, discounts do not seem to work. When I make a discount to be added on based on a country selection, it will show the discount next to the price of the item, for example, $100 - 15%, but it will not update the total price. Its appearance is working as it should, since if I pick any other country, it will not show the -15%, but choosing the correct country will make it show up.
Last edit: 9 years 8 months ago by vaki2@hikashop.
Please Log in or Create an account to join the conversation.
9 years 8 months ago #263837
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Fatal PHP Error in Checkout
Hi,
It is hard to say if the problem is really related to HikaShop or not.
The error message is indicating a memory issue and maybe the fact that you have an auto-coupon is just one of the possible source for that memory but it does not indicate where the memory problem is.
I'm afraid that we can't do or fix anything knowing that in our side, we do not have such memory issue ; even if we have a coupon.
Now it could be related to a plugin or another extension. It is really hard to say without so few information.
Regards,
It is hard to say if the problem is really related to HikaShop or not.
The error message is indicating a memory issue and maybe the fact that you have an auto-coupon is just one of the possible source for that memory but it does not indicate where the memory problem is.
I'm afraid that we can't do or fix anything knowing that in our side, we do not have such memory issue ; even if we have a coupon.
Now it could be related to a plugin or another extension. It is really hard to say without so few information.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds