Overview

During the Omeka S update process, the following error occurred.

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Omeka\View\Renderer\ApiJsonRenderer::__construct(), 0 passed

This is a personal note on how to address this error.

Solution

The solution was found at the following link.

https://forum.omeka.org/t/upgrade-from-4-0-4-to-4-1-failed/22281

Specifically, uninstalling the Next module resolved the above issue.

Summary

I hope this serves as a useful reference for those encountering the same issue.