Papers bug version 1.4.1

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/
Stack trace:
#0 bsd/themes/papers/view/omeka/site/item/show.phtml(50): Omeka\Api
#1 bsd/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(519):
#2 bsd/vendor/laminas/laminas-view/src/View.php(194): Laminas\View\Renderer
#3 bsd/vendor/laminas/laminas-view/src/View.php(222): Laminas\View\View-


#4 bsd/vendor/laminas/laminas-view/src/View.php(187): Laminas\View\View-


#5 bsd/vendor/laminas/laminas-mvc/src/View/Http/
DefaultRenderingStrategy.php(98): Laminas\View\View->render()
#6 bsd/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas
#7 bsd/vendor/laminas/laminas-eventmanager/src/EventManager.php(171): Laminas
#8 bsd/vendor/laminas/laminas-mvc/src/Application.php(360): Laminas
#9 bsd/vendor/laminas/laminas-mvc/src/Application.php(341): Laminas\Mvc
#10 bsd/index.php(21): Laminas\Mvc\Application->run()
#11 {hand
Thank you for your help

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.

Thanks for the answer it works

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?

The code is in /papers/view/layout

<footer class="site-footer h-card">
 <nav class="site-nav"><li><a href="<?php echo $site->url(); ?>/about">À propos</a></li><li><a href="<?php echo $site->url(); ?>/partenaires">Mode d'emploi</a></li><li><a href="<?php echo $site->url(); ?>/mentions-legales">Mentions légales</a></li><li><a href="<?php echo $site->url(); ?>/carte">Carte des objets</a></li></nav>
        <div class="wrapper">	
            <?php if ($footerContent = $this->themeSetting('footer')): ?>
            <?php echo $footerContent; ?>
            <?php else: ?>
            <?php echo $this->translate('Powered by Omeka S'); ?>
            <?php endif; ?>


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.