Update to "php-8.1.2-1 php-apache-8.1.2-1"

Hi all, I have problems with the following version of php as in object, look at the apache logs the error is this:

PHP Fatal error: During inheritance of SeekableIterator: Uncaught ArgumentCountError: Too few arguments to function Zend_Session_Exception::handleSessionStartError(), 4 passed in /srv/http/omeka-3.0.1/application/libraries/Zend/Db/Table/Rowset/Abstract.php on line 30 and exactly 5 expected in /srv/http/omeka-3.0.1/application/libraries/Zend/Session/Exception.php:56\nStack trace:\n#0 /srv/http/omeka-3.0.1/application/libraries/Zend/Db/Table/Rowset/Abstract.php(30): Zend_Session_Exception::handleSessionStartError()\n#1 /srv/http/omeka-3.0.1/application/libraries/Zend/Db/Table/Rowset.php(28): require_once(’…’)\n#2 /srv/http/omeka-3.0.1/application/libraries/Zend/Loader/StandardAutoloader.php(320): include(’…’)\n#3 /srv/http/omeka-3.0.1/application/libraries/Zend/Loader/StandardAutoloader.php(241): Zend_Loader_StandardAutoloader->loadClass()\n#4 [internal function]: Zend_Loader_StandardAutoloader->autoload()\n#5 /srv/http/omeka-3.0.1/application/libraries/Zend/Db/Table/Abstract.php(1409): class_exists()\n#6 /srv/http/omeka-3.0.1/application/libraries/Zend/Db/Table/Abstract.php(1363): Zend_Db_Table_Abstract->fetchAll()\n#7 /srv/http/omeka-3.0.1/application/libraries/Zend/Session/SaveHandler/DbTable.php(318): Zend_Db_Table_Abstract->find()\n#8 [internal function]: Zend_Session_SaveHandler_DbTable->read()\n#9 /srv/http/omeka-3.0.1/application/libraries/Zend/Session.php(496): session_start()\n#10 /srv/http/omeka-3.0.1/application/libraries/Zend/Session/Namespace.php(143): Zend_Session::start()\n#11 /srv/http/omeka-3.0.1/application/libraries/Zend/Auth/Storage/Session.php(86): Zend_Session_Namespace->__construct()\n#12 /srv/http/omeka-3.0.1/application/libraries/Zend/Auth.php(91): Zend_Auth_Storage_Session->__construct()\n#13 /srv/http/omeka-3.0.1/application/libraries/Zend/Auth.php(141): Zend_Auth->getStorage()\n#14 /srv/http/omeka-3.0.1/application/libraries/Omeka/Application/Resource/Currentuser.php(42): Zend_Auth->hasIdentity()\n#15 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(695): Omeka_Application_Resource_Currentuser->init()\n#16 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(641): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource()\n#17 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(598): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap()\n#18 /srv/http/omeka-3.0.1/application/libraries/Omeka/Application/Resource/Helpers.php(116): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap()\n#19 /srv/http/omeka-3.0.1/application/libraries/Omeka/Application/Resource/Helpers.php(27): Omeka_Application_Resource_Helpers->_initAclHelper()\n#20 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(695): Omeka_Application_Resource_Helpers->init()\n#21 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(641): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource()\n#22 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(598): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap()\n#23 /srv/http/omeka-3.0.1/application/libraries/Omeka/Application/Resource/Frontcontroller.php(63): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap()\n#24 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(695): Omeka_Application_Resource_Frontcontroller->init()\n#25 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(638): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource()\n#26 /srv/http/omeka-3.0.1/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(598): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap()\n#27 /srv/http/omeka-3.0.1/application/libraries/Zend/Application.php(373): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap()\n#28 /srv/http/omeka-3.0.1/application/libraries/Omeka/Application.php(49): Zend_Application->bootstrap()\n#29 /srv/http/omeka-3.0.1/index.php(23): Omeka_Application->initialize()\n#30 {main} in /srv/http/omeka-3.0.1/application/libraries/Zend/Db/Table/Rowset/Abstract.php on line 30

my omeka version is the latest and i use the “Arch Linux”.

Ciao Angelo

PHP 8.1 is quite new, and Omeka Classic doesn’t currently support it.

Is there a plan to? My web host upgraded to 8.1 so I’m having the same issue–I can roll the PHP version back but it gives 404 errors on everything other than the main page if I do.

@peregrine

We do plan to have a release that includes PHP 8.1 compatibility, but I don’t have a date on that for you.

The problem you’re having with the prior version sounds like an .htaccess problem, so I’d check on that, that the .htaccess file is present and your host is set up to use it.

You’re right–my .htaccess file was named .htaccess11 and it wasn’t being read. So the rollback to the older PHP and changing the filename fixed it; thanks! Looking forward to the 8.1 compatibility.

I am glad to see others now are in a similar boat as me. I’ve a rowdy fleet of Omeka sites that are temporarily afloat thanks to a general PhP rollback, but by the end of the month (March) the host will proceed with the 8.1 upgrade, so any info on the when of an 8.1 accessibility update is invaluable.

Thanks

I’m working on it but there’s a fair amount of work to be done.

I’m surprised a host would mandate PHP 8.1 so quickly… 8.0 is still fully supported by PHP through November with another year of security updates after that. 8.1 is quite new to be forced on for everyone.

Few weeks later, do you know have an idea when will Omeka S support PHP 8?

Meanwhile, I think it should be clearly mentionned in the documentation of Omeka S that:

PHP, minimum version 7.2, maximum version 8.0, with PDO, pdo_mysql, and xml extensions installed

A stumbling block here is that not all of our dependencies have updated for 8.1 yet, so there’s a little uncertainty on that front.

We do have 8.1 support in the active development branches of both Omeka S and Omeka Classic currently. I don’t have a concrete date to give you right now on a release, however.