[OJS 3.1.1-4] Keywords block plugin error

Description of issue:

The keywords block plugin is shown in an OJS with 6 journals, but the block is show in 5 of them only I have problem to one.

Console error:

Uncaught TypeError: t.text.toLowerCase is not a function
    at Array.<anonymous> (d3.wordcloud.min.js:1)
    at e (d3.min.js:3)
    at Array.Co.data (d3.min.js:3)
    at _.f (d3.wordcloud.min.js:1)
    at _.t [as end] (d3.min.js:1)
    at r (d3.layout.cloud.js:60)
    at Object.I.start (d3.layout.cloud.js:36)
    at Function.t.start (d3.wordcloud.min.js:1)
    at HTMLDocument.<anonymous> (rehiam:1304)

Captura de pantalla (540)

Error log messages:

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function PKPHandler::setupTemplate(), 0 passed in exactly 1 expected in /lib/pkp/classes/handler/PKPHandler.inc.php:433\nStack trace:
n#0 /pages/gateway/GatewayHandler.inc.php(26): PKPHandler->setupTemplate()
n#1 /lib/pkp/classes/core/PKPRouter.inc.php(390): GatewayHandler->lockss(Array, Object(Request))
n#2 /lib/pkp/classes/core/PKPPageRouter.inc.php(232): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
n#3 /lib/pkp/classes/core/Dispatcher.inc.php(134): PKPPageRouter->route(Object(Request))
n#4 /lib/pkp/classes/core/PKPApplication.inc.php(247): Dispatcher->dispatch(Object(Request))
n#5 /index.php(68): PKPApplication->execute()
n#6 {main}\n thro in /lib/pkp/classes/handler/PKPHandler.inc.php on line 433

Any help, thanks
Best regards.

1 Like

Hi @Elena_Najera,

You may want to consider upgrading your instance of OJS, as the version of OJS that you’re using is no longer supported by PKP. I recommend that you upgrade to the newest version of OJS, as it is possible that your issue will be resolved by upgrading. It’s possible that the plugin may need to be upgraded as well. However, other community members may wish to offer assistance.

Best regards,

Roger
PKP Team

1 Like

@Elena_Najera, this plugin has been heavily modified in the latest versions, which only support OJS 3.2 and OJS 3.3.

Reinforcing Roger’s suggestion, can you upgrade this OJS to 3.2 or 3.3 to have better support both with third-party plugins and by PKP?

1 Like

I think the other journals in the same OJS showed the keyword block, but an update is coming. So, I hope the problem is solved.
I will follow your recommendations. Thanks.

Regards,
Elena

1 Like

This topic was automatically closed after 12 days. New replies are no longer allowed.