Error in Phoca Cart “0 Unsupported operand types: int / string” in front side. Back side OK. PHP 8.2
Posted: 06 Jan 2026, 19:04
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: 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