PDF Text plugin failed

When PDF Text is activated on my Omeka Classic website, it triggers a sitewide 500 error and the log files revealed this:

2025-01-20T15:21:50+00:00 ERR (3): Omeka_Record_Exception: There is no element "PDF Text", "Text"! in /home/nessia/public_html/application/models/Mixin/ElementText.php:292
Stack trace:
#0 /home/nessia/public_html/application/libraries/Omeka/Record/AbstractRecord.php(255): Mixin_ElementText->getElement('PDF Text', 'Text')
#1 /home/nessia/public_html/application/libraries/Omeka/Record/AbstractRecord.php(212): Omeka_Record_AbstractRecord->delegateToMixins('getElement', Array)
#2 /home/nessia/public_html/plugins/PdfText/PdfTextPlugin.php(120): Omeka_Record_AbstractRecord->__call('getElement', Array)
#3 /home/nessia/public_html/application/libraries/Omeka/Plugin/Broker.php(154): PdfTextPlugin->hookBeforeSaveFile(Array)
#4 /home/nessia/public_html/application/libraries/Omeka/Record/AbstractRecord.php(302): Omeka_Plugin_Broker->callHook('before_save_fil...', Array)
#5 /home/nessia/public_html/application/libraries/Omeka/Record/AbstractRecord.php(530): Omeka_Record_AbstractRecord->runCallbacks('beforeSave', Array)
#6 /home/nessia/public_html/application/models/Item.php(338): Omeka_Record_AbstractRecord->save()
#7 /home/nessia/public_html/application/models/Item.php(251): Item->saveFiles()
#8 /home/nessia/public_html/application/libraries/Omeka/Record/AbstractRecord.php(281): Item->afterSave(Array)
#9 /home/nessia/public_html/application/libraries/Omeka/Record/AbstractRecord.php(549): Omeka_Record_AbstractRecord->runCallbacks('afterSave', Array)
#10 /home/nessia/public_html/application/libraries/Omeka/Controller/AbstractActionController.php(204): Omeka_Record_AbstractRecord->save(false)
#11 /home/nessia/public_html/application/controllers/ItemsController.php(148): Omeka_Controller_AbstractActionController->addAction()
#12 /home/nessia/public_html/application/libraries/Zend/Controller/Action.php(516): ItemsController->addAction()
#13 /home/nessia/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('addAction')
#14 /home/nessia/public_html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /home/nessia/public_html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(106): Zend_Controller_Front->dispatch()
#16 /home/nessia/public_html/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#17 /home/nessia/public_html/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#18 /home/nessia/public_html/admin/index.php(28): Omeka_Application->run()
#19 {main}

Is there any way for me to get this plugin working on my environment?

This probably means that at some point you deleted the PDF Text element set, which is necessary for the plugin to work.

If you uninstall and reinstall the plugin from the plugins page, it should recreate the necessary element and set.