Text overlay on a PDF viewer

Hello !,

I updated an OJS from version 3.1.2.4 → 3.2.1.4 → 3.3.0.10

So, I have two errors. First, when the summary of an article is displayed I have this message in the LOG:

AH01071: Got error 'PHP message: PHP Warning: htmlspecialchars() expects parameter 1 to be string, [my path]/htdocs/plugins/generic/googleScholar/GoogleScholarPlugin.inc.php on line 97', referer: https://myjournal/index.php/mag/index

Second, when I view a PDF, it shows me some text on top of it.
Captura de Tela 2022-05-12 às 20.36.01

OJS 3.3.0.10
PHP 7.4

When viewing the html code of the pdf viewer, the displayed content is in a class called textLayer
Captura de Tela 2022-05-12 às 22.30.22

Any idea?

Hi @dagosalas,

Strange, I did not get the same issue with the text overlay when I visited that article page:

Screen Shot 2022-05-13 at 7.46.56 AM

It makes me wonder if it is a browser issue? But that seems strange.

-Roger
PKP Team

Dago, also works perfectly fine in my case with Firefox and Chrome.

May be you got a cache issue with your browser?
Try cleaning cache or with a different browser instead.

Cheers,
m.

A post was split to a new topic: PHP Warning: htmlspecialchars()

Gracias @Marcç, si, borré el cache y solucionado :smiley:

1 Like