PHP Error after Omeka installation on WAMP


I’ve been following an installation guide to set up a local dev environment for Omeka on WAMP ( So far, so good for the most part-- until I’m brought to the ‘create superuser account’ form. After submitting the form, I receive the following error:

Zend_Session::start() - C:\xampp\htdocs\omeka\application\libraries\Zend\Db\Table\Abstract.php(Line:1307): Error #2 count(): Parameter must be an array or an object that implements Countable

I’m not sure what exactly this error is pointing to. It seems to me that it might be a general PHP framework error, or some error involving the reading of databases in mySQL. Am I on base here? I have all aspects of WAMP up and running with the correct configs (using XXAMP control panel), and ImageMadgick installed as well. I’m not able to move forward in viewing the admin dashboard or the public site due to this error. Any help would be appreciated; thanks!

that install is from 2015
i suggest you use a current install page:

For Omeka Classic, there’s not much changed in the installation process since 2015, so I’m inclined to agree that there’s something about a new PHP version at play, though not sure exactly what.

Note that Omeka Classic and Omeka S (which @kmw) linked to, are very different products, so info about one won’t necessarily match info for the other.

The issue is with PHP 7.2. We’re aware of issues with PHP 7.2 but haven’t released a fix yet.

Using 7.1 should resolve the problem.

Problem is fixed when using php 7.1. Thanks!