Error message: Deprecated


#1

We just started getting an error message:
Deprecated : The each() function is deprecated. This message will be suppressed on further calls in /home/ramapoed/digital.janeaddams.ramapo.edu/application/libraries/Zend/Cache/Backend.php on line 79

I can save records, but not delete them, and cannot use our Item Relations lookups. Other things seem to be working.


#2

Heard from our server company:
Thanks for reaching out! This is likely a result of PHP upgrades to 7.2 issued this morning.


#3

Same thing here on reclaimhosting.com which upgraded to PHP 7.2.20.

I executed the offending code in the debugger and it appears to be working okay. I was able to create and delete an item.

Omeka team, can you take a look to verify that this is just a warning and not a functional issue, and add to the list of updates in the next release – thanks.


#4

I see that this has already been fixed in Omeka 2.7 - thanks!


#5

Hmm, I missed this thread until now for some reason.

Yes, the deprecation warning is a result of a PHP version upgrade, and Omeka 2.7 resolves the problem.