timinwaedi Posted October 12, 2018 Share Posted October 12, 2018 Getting following Warning messages in Administration->Catalog->Categories/Products Using PHP Version 7.2.10-0ubuntu0.18.04.1 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/oscommerce-2.3.4.1/catalog/admin/includes/functions/general.php on line 89 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/oscommerce-2.3.4.1/catalog/admin/categories.php on line 901 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /var/www/html/oscommerce-2.3.4.1/catalog/admin/categories.php on line 917 Link to comment Share on other sites More sharing options...
MrPhil Posted October 12, 2018 Share Posted October 12, 2018 Which version of osCommerce are you using? If it's the official download, that definitely will fail on PHP 7. You should be using the 2.3.4.1BS Edge/CE/Frozen version (see my signature below). Even that one may have a few issues with PHP 7.2 (see the "fix list" thread to try to get it to run on 7.2). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.