Keyword Cloud Plugin for OJS3

Hi @abadan,
thank you for your quick answer.
Here is the link to our journal: https://zeitschrift-suburban.de/
And we do not use the Paperbuzz plugin.

Hello @adm_sub,

In the keyword list one of them is coming as the integer 0 instead of a string. This is breaking JS, which only expects strings.

The ideal would be to investigate your database to find out why a keyword returns zero.

In any case, a quicker solution can be a small modification to the plugin. In line 106 of the KeywordCloudBlockPlugin.inc.php file.

Replace

$kw->text = $k;

by

$kw->text = (string)$k;

Can you check the result of this change in your installation?

1 Like

Hi @abadan,

thank you so much for your help. Your suggestion did the trick!

1 Like

Good, @adm_sub!

Our thanks to @ffpl who gave me a tip. :slight_smile:

You may want to investigate how keywords are saved in your database. One of them is returning as 0 and not a string, as expected.

A post was split to a new topic: Installing keyword cloud plugin