OJS3 - Missing Language Toggle Block

Hi everyone.
After upgrading to OJS 3.0.2 from 2.4.8.0 the language toggle block plugin is missing.
I can see it in http://localhost/[OJS3]/[myjournal]/management/settings/website Plugins tab. But I can’t in Appearance tab/Sidebar management.

In my database (postgre):

select * from plugin_settings where 1=1
and plugin_name = ‘languagetoggleblockplugin’
and context_id = 0
order by context_id, setting_value;

I got:

   plugin_name        | context_id | setting_name | setting_value | setting_type 

---------------------------±-----------±-------------±--------------±-------------
languagetoggleblockplugin | 0 | enabled | 1 | bool
languagetoggleblockplugin | 0 | context | 2 | int
languagetoggleblockplugin | 0 | seq | 4 | int
(3 rows)

But if I run the same query in a fresh install:

   plugin_name        | context_id | setting_name | setting_value | setting_type 

---------------------------±-----------±-------------±--------------±-------------
languagetoggleblockplugin | 0 | enabled | 1 | bool
languagetoggleblockplugin | 0 | context | 1 | int
languagetoggleblockplugin | 0 | seq | 4 | int
(3 rows)

What this context means? I have run this query:

update plugin_settings set setting_value = 1 where plugin_name = ‘languagetoggleblockplugin’ and setting_name = ‘context’;

And I cleaned the cache.
Now it’s work. It’s a test install, not my production server.

It’s ok?

Regards,
Tarcisio Pereira

Hi @Tarcisio_Pereira,

See e.g. this thread.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like