Galley buttons don't render in issue page

Hi All

I have a problem with journal, It’s a new one, I use a child them from the classic one to add some logos in the home page and also add some static text the translation in English as well, also I uploaded two issue throughout Quick submit, and everything works fine.

The problem appears when I check in Distribution Setting → Access → Publishing Mode “The journal will require subscriptions to access some or all of its contents.” and I set 24 months of Delay open access and in the Archive page of the issues renders until the title and author of the first article, from the galley buttons doesn’t render anything at all, yo can see it the image I attach; but if I go to the article page the buttons render perfectly.

Captura de pantalla 2021-06-24 a las 18.42.50

I check the log and it said:

[Thu Jun 24 18:45:15.684212 2021] [proxy_fcgi:error] [pid 25664] [client] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getData() on null in /home/revistasmarcialpons/www/cache/t_compile/c4f819d01067896e75516814a3a590d9559e70a3^\nStack trace:\n#0 /home/revistasmarcialpons/www/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_60d49a0903bd31_36389767(Object(Smarty_Internal_Template))\n#1 /home/revistasmarcialpons/www/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))\n#2 /home/revistasmarcialpons/www/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))\n#3 /home/revistasmarcialpons/www/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()\n#4 /home/revista...\n', referer:

I’m using th OJS run in a linux server with a php 7.2.34

Does any body has a clue of what are causing the problem

Thanks a lot

Hello @nacho,

Typically, the galley buttons should still display in the TOC regardless of the publication model. Would you happen to have any customizations that may hide these buttons?

Kind Regards,
Public Knowledge Project Team

Hi @pmangahis thanks for the replay.

The only customizations I made in those buttons are through css to change the colors. When I check the source in the browse, there are code till the button (the div where it suppose to be is open and there isn’t more code).