Error: Deprecated: ucfirst(): passing null....
Closed this issue · 0 comments
CSSSchaffer commented
Since MediaWiki upgraded to version 1.40.0, there's a new error in a couple places that occurs when saving a Scripto item:
Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /home/schaffer/dev.schafferlibrarycollections.org/modules/Scripto/view/scripto/public-app/media/show.phtml on line 5
and
Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /home/schaffer/dev.schafferlibrarycollections.org/modules/Scripto/view/scripto/public-app/media/show-talk.phtml on line 6
The combination of versions I'm testing on with this error is Omeka 4.0.3, Scripto 1.4.0 and MediaWiki 1.40.0 using PHP 8.1.
Is there a current fix for this? Thanks