I've started Phoca Cart for a short time. Worked a long time with J2store. Phoca Cart is much more better. Easier to configure. Very stable and all the parameters I need.
Error: 0 Unsupported operand types: int / string
The error is already mentioned in this forum for Phoca Gallery but is also valid for Phoca Cart.
Solution: the value for Pagination Default Value (Category View) needs to be a number. Text as “all” is not allowed.
My System information
Joomla! Version: Joomla! 5.4.1 Stable
PHP version :8.2.29
Databasetype: mysql
Phoca Cart information: Version 5.2.3
Error in Phoca Cart “0 Unsupported operand types: int / string” in front side. Back side OK. PHP 8.2
-
geldolto
- Phoca Newbie

- Posts: 2
- Joined: 25 Nov 2025, 19:11
- Jan
- Phoca Hero

- Posts: 49199
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in Phoca Cart “0 Unsupported operand types: int / string” in front side. Back side OK. PHP 8.2
Hi, can you enable debug mode on your site and add the debug info here, to get info where this occurs.
Thank you.
Jan
Thank you.
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49199
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in Phoca Cart “0 Unsupported operand types: int / string” in front side. Back side OK. PHP 8.2
If you find Phoca extensions useful, please support the project
-
geldolto
- Phoca Newbie

- Posts: 2
- Joined: 25 Nov 2025, 19:11
Re: Error in Phoca Cart “0 Unsupported operand types: int / string” in front side. Back side OK. PHP 8.2
Hi,
I added the solution. Solution: the value for Pagination Default Value (Category View) needs to be a number. Text as “all” is not allowed.
This entry is only to help other people having the same problem in Phoca Cart. To find the solution it took me a lot of time and stress. I first thought that it was a problem caused by the provider.
I added the solution. Solution: the value for Pagination Default Value (Category View) needs to be a number. Text as “all” is not allowed.
This entry is only to help other people having the same problem in Phoca Cart. To find the solution it took me a lot of time and stress. I first thought that it was a problem caused by the provider.
- Jan
- Phoca Hero

- Posts: 49199
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in Phoca Cart “0 Unsupported operand types: int / string” in front side. Back side OK. PHP 8.2
Ok, thank you for the info, since 6.1.0 this is protected against strings.
Jan
Jan
If you find Phoca extensions useful, please support the project