Error upgrading from 1.4.0 to 2.0.2

Parse error : syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE) in /home/touristr/public_html/ on line 38

Omeka S 2.0.2 requires PHP 7.1 or greater.

Your server is presumably running a version that’s older than that, so you’d have to look at upgrading or switching the PHP version, or switching servers.

Thank you for your feedback.
I configured PHP 7.1 version and now the home page with the default theme is ok, but accessing to the site I have the following error:

Omeka S encountered an error

The current theme is not active. Its current state is “invalid_omeka_version”.


Exception: The current theme is not active. Its current state is “invalid_omeka_version”. in /home/touristr/public_html/ Stack trace:
#0 /home/touristr/public_html/ Omeka\Mvc\MvcListeners->preparePublicSite(Object(Zend\Mvc\MvcEvent))
#1 /home/touristr/public_html/ Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#2 /home/touristr/public_html/ Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#3 /home/touristr/public_html/ Zend\Mvc\Application->run()
#4 {main}

I fixed the error downloading the default theme from .
The instructions in the “Updating” section at should be updated removing the backup and restore of the “themes” directory, as stated at