Jump to content
Latest News: (loading..)
Sign in to follow this  
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).


If you are running the "official" osC 2.3.4 or 2.3.4.1 download, your installation is obsolete! Get (stable) Frozen or (unstable) Edge. See also the naming convention and the latest community-supported responsive "Edge" release

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×