Version 1.4.1 does not work with Omeka S V4
Here is the error message
TypeError: Omeka\Api\Representation
\AbstractResourceEntityRepresentation::displaySubjectValues(): Argument #1
($options) must be of type array, int given, called in /bsd/themes/papers/
view/omeka/site/item/show.phtml on line 50 and defined in bsd/application/src/
API/Representation/AbstractResourceEntityRepresentation.php:523
Stack trace: #0 bsd/themes/papers/view/omeka/site/item/show.phtml(50): Omeka\Api
\Representation\AbstractResourceEntityRepresentation->displaySubjectValues() #1 bsd/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(519):
include(‘/home/alla6772/…’) #2 bsd/vendor/laminas/laminas-view/src/View.php(194): Laminas\View\Renderer
\PhpRenderer->render() #3 bsd/vendor/laminas/laminas-view/src/View.php(222): Laminas\View\View-
What’s probably happening here is that you’ve left an old copy of the file view/omeka/site/item/show.phtml in your “papers” theme folder.
The latest versions of the theme that are designed for Omeka S 4.0.0 don’t actually have that file, so if you’ve just left your old theme in place and copied the new files over top of it, you’d be leaving this old file behind, causing this problem.
The best way to ensure you have everything as it should be is to delete your whole “papers” folder and then put in a new copy from the zip file. (Of course, if you’ve manually edited any files in the theme, take care to preserve or re-apply those changes.) This is just a good practice to follow generally when updating a module or theme.
With version 1.3.4 of Papers, the pages not included in the navigation are displayed in the footer. Can you tell me how to do with version 1.4.1
Thanks in advance
I was reviewing Papers’ history and I don’t believe we’ve ever had a feature where pages not in the navigation appear in the footer. Is it possible that you had set it via the “footer content” theme setting and that was somehow lost?
You can see the markup in v1.3.4’s layout.phtml here: papers/layout.phtml at v1.3.4 · omeka-s-themes/papers · GitHub. I’m wondering if someone on your project hardcoded that extra navigation in your footer, and it was lost when you updated the theme.