Jump to content

Archived

This topic is now archived and is closed to further replies.

timinwaedi

Warning messages in Administration->Catalog->Categories/Products

Recommended Posts

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

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

×