Problem with cart after removing all products

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
11 months 4 weeks ago #356923

-- HikaShop version -- : 5.0.0.
-- Joomla version -- : 4.4.0
-- PHP version -- : 8.2

Hello,
After selecting the products, after proceeding to checkout, when I remove all the products in the cart, I receive the error: "COUNT(): ARGUMENT #1 ($VALUE) MUST BE OF TYPE COUNTABLE|ARRAY, NULL GIVEN".
I have another store on the same server with exactly the same settings, the same framework, etc. and it works there, but it doesn't work on the given website.
Help :)
Tomek

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 months 4 weeks ago #356924

Hi,

Please activate the "debug" setting of the Joomla configuration and try again. It will display an error message with more information which will help us understand what's going on.

Please Log in or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
11 months 4 weeks ago #356931

Hi,
I activated it.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 months 3 weeks ago #356949

Hi,

Your template doesn't seem to display the complete error message when the debug is activated.
That's not normal and should be reported to your template provider as it must be missing something in its error.php file.
In the meantime, rename the file templates/YOUR_TEMPLATE/error.php to something else via FTP. That way, it will use the default error page of Joomla and you'll get the full error page with the debug activated.
Please provide a screenshot of that page.

Please Log in or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
11 months 3 weeks ago #356954

Nicolas,
thank you for your help.
After enabling proper debugging, I found the problem. It was a plugin that was enabled but not used :(
Thanks a lot.

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.043 seconds
Powered by Kunena Forum