The setup menus are not visible

Configuration menus are not seen in migrated journals but are seen in new journals created in the OJS3 environment.

[Tue May 03 11:26:00.687336 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  array_map(): Expected parameter 2 to be an array, null given in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/pages/management/ManagementHandler.inc.php on line 98, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.688783 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 331, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689151 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  array_values() expects parameter 1 to be array, null given in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 301, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689198 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 331, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689204 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 331, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689210 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 331, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689215 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 331, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689220 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 331, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689225 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 331, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions
[Tue May 03 11:26:00.689546 2022] [php7:warn] [pid 1434052] [client 172.16.15.196:61680] PHP Warning:  array_values() expects parameter 1 to be array, null given in /var/www/html/revistes.iec.cat/ojs-3.2.1-4/lib/pkp/classes/components/forms/FormComponent.inc.php on line 301, referer: https://revistes-pre.iec.cat/index.php/ASCE/submissions

OJS 2.4.8.4 → OJS 3.2.1-4

Any advice?

Hi @xtorrents

Could you please review and double-check that your current user is a Journal Manager of the existing migrated journals that are not showing the setup menus ?

Best,
Israel

Hi @israel.cefrin

Yes, it is the Journal Manager and in doing so I have given all possible roles to the user and the same thing continues to happen to me. However, if I create a new magazine in this environment, everything goes well. It’s something about migration that I can’t see.

Best,

Xavi

Hi @xtorrents

Have you attempt to log in as Site Admin to check whether the menus are showing up as well?

Best,
Israel

All the tests I am doing with the site administrator…and it’s the same.

Best,

Xavi

We finally managed to show the magazine settings menus by adding the following values ​​to all magazines:
‘a:3:{i:0;s:5:“ca_ES”;i:1;s:5:“en_US”;i:2;s:5:“es_ES”;}’
All this we had to add both for: supportedFormLocales,supportedSubmissionLocales.
Best,

Xavi

1 Like