Items will not display for transcription

I am getting two warnings and a fatal error when I open individual items for transcription or review. The warnings are:

**Warning** : current() expects parameter 1 to be array, null given in **/home/teorapro/public_html/plugins/Scripto/libraries/Scripto/Document.php** on line **1010**

**Warning** : in_array() expects parameter 2 to be array, null given in **/home/teorapro/public_html/plugins/Scripto/libraries/Scripto.php** on line **204**

and the fatal error is:

## **Fatal error** : Uncaught TypeError: Argument 1 passed to Scripto_Document::_canEdit() must be of the type array, null given, called in /home/teorapro/public_html/plugins/Scripto/libraries/Scripto/Document.php on line 509 and defined in /home/teorapro/public_html/plugins/Scripto/libraries/Scripto/Document.php:887 Stack trace: #0 /home/teorapro/public_html/plugins/Scripto/libraries/Scripto/Document.php(509): Scripto_Document->_canEdit(NULL) #1 /home/teorapro/public_html/themes/Scribe/scripto/index/transcribe.php(363): Scripto_Document->canEditTranscriptionPage() #2 /home/teorapro/public_html/application/libraries/Omeka/View.php(114): include('/home/teorapro/...') #3 /home/teorapro/public_html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/home/teorapro/...') #4 /home/teorapro/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL) #5 /home/teorapro/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Co in **/home/teorapro/public_html/plugins/Scripto/libraries/Scripto/Document.php** on line **887**

We are running the following:
Omeka 2.7.1
Scripto 2.4
MediaWiki 1.32.4