- Posts: 196
- Thank you received: 15
Problem with cart after removing all products
- StudioPrzyLesie
-
Topic Author
- Offline
Less
More
2 years 11 months ago #356923
by StudioPrzyLesie
Problem with cart after removing all products was created by StudioPrzyLesie
-- 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
-- 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.
2 years 11 months ago #356924
by nicolas
Replied by nicolas on topic Problem with cart after removing all products
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 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.
- StudioPrzyLesie
-
Topic Author
- Offline
Less
More
- Posts: 196
- Thank you received: 15
2 years 11 months ago #356931
by StudioPrzyLesie
Replied by StudioPrzyLesie on topic Problem with cart after removing all products
Hi,
I activated it.
I activated it.
Please Log in or Create an account to join the conversation.
2 years 11 months ago #356949
by nicolas
Replied by nicolas on topic Problem with cart after removing all products
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.
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.
- StudioPrzyLesie
-
Topic Author
- Offline
Less
More
- Posts: 196
- Thank you received: 15
2 years 11 months ago #356954
by StudioPrzyLesie
Replied by StudioPrzyLesie on topic Problem with cart after removing all products
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.
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.047 seconds