**ParseError** with latest BulkExport

I’m getting the below error when I go to /admin/bulk-export/bulk-export.

Omeka S 4.1.0, BulkExport 3.4.32.

**ParseError**
syntax error, unexpected 'protected' (T_PROTECTED)

Details:

ParseError: syntax error, unexpected 'protected' (T_PROTECTED) in /home/customer/www/boslit.glasgow.ac.uk/public_html/modules/BulkExport/src/Api/Representation/ExporterRepresentation.php:112 Stack trace: #0 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-loader/src/StandardAutoloader.php(220): Laminas\Loader\StandardAutoloader->loadClass('BulkExport\\Api\\...', 'namespaces') #1 [internal function]: Laminas\Loader\StandardAutoloader->autoload('BulkExport\\Api\\...') #2 /home/customer/www/boslit.glasgow.ac.uk/public_html/application/src/Api/Adapter/AbstractAdapter.php(153): spl_autoload_call('BulkExport\\Api\\...') #3 /home/customer/www/boslit.glasgow.ac.uk/public_html/application/src/Api/Manager.php(341): Omeka\Api\Adapter\AbstractAdapter->getRepresentation(Object(BulkExport\Entity\Exporter)) #4 [internal function]: Omeka\Api\Manager->Omeka\Api\{closure}(Object(BulkExport\Entity\Exporter)) #5 /home/customer/www/boslit.glasgow.ac.uk/public_html/application/src/Api/Manager.php(346): array_map(Object(Closure), Array) #6 /home/customer/www/boslit.glasgow.ac.uk/public_html/application/src/Api/Manager.php(269): Omeka\Api\Manager->finalize(Object(BulkExport\Api\Adapter\ExporterAdapter), Object(Omeka\Api\Request), Object(Omeka\Api\Response)) #7 /home/customer/www/boslit.glasgow.ac.uk/public_html/application/src/Api/Manager.php(59): Omeka\Api\Manager->execute(Object(Omeka\Api\Request)) #8 /home/customer/www/boslit.glasgow.ac.uk/public_html/modules/AdvancedSearch/src/Api/ManagerDelegator.php(134): Omeka\Api\Manager->search('bulk_exporters', Array, Array) #9 /home/customer/www/boslit.glasgow.ac.uk/public_html/application/src/Mvc/Controller/Plugin/Api.php(63): AdvancedSearch\Api\ManagerDelegator->search('bulk_exporters', Array, Array) #10 /home/customer/www/boslit.glasgow.ac.uk/public_html/modules/BulkExport/src/Controller/Admin/BulkExportController.php(13): Omeka\Mvc\Controller\Plugin\Api->search('bulk_exporters', Array) #11 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): BulkExport\Controller\Admin\BulkExportController->indexAction() #12 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent)) #13 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure)) #14 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent)) #15 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response)) #16 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent)) #17 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure)) #18 /home/customer/www/boslit.glasgow.ac.uk/public_html/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent)) #19 /home/customer/www/boslit.glasgow.ac.uk/public_html/index.php(21): Laminas\Mvc\Application->run() #20 {main}

I’ve found and fixed the issue.

There’s a missing } in modules/BulkExport/src/Api/Representation/ExporterRepresentation.php:108.

Adding that } restores the plugin’s functionality.

Pull.