Hi,
I’m trying to fix a damaged OJS 3.2.1-1 (php 7.3 with “official” docker images).
All works fine, but when I try to reach Journal Settings (management/settings/context) Masterhead tab is empty and, same happens on Contact.
PHP log says nothing apart from this “Division by zero” warning:
[Wed Aug 26 02:47:35.763853 2020] [php7:warn] [pid 114] [client 172.23.0.1:36604] PHP Warning: Division by zero in /var/www/html/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 134, referer: https://localhost/rb/management/settings/context
I tried with Debug=On and I can’t see nothing useful
The only clue is in the firefox console that shows plenty of warnings and errors.
I pastebined them here: La cookie “__atuvc” pronto se tratará como cookie de sitio cruzado contra “https - Pastebin.com
Warnings are stuff like this one:
La cookie “_gid” pronto se tratará como cookie de sitio cruzado contra “https://localhost/rb/management/settings/context” porque el esquema no coincide. context
But my concern are 3 errors like this one:
TypeError: this.fields is undefined hasMultilingualFields https://localhost/js/build.js?v=3.2.1.1:8 get https://localhost/js/build.js?v=3.2.1.1:14 evaluate https://localhost/js/build.js?v=3.2.1.1:14 hi https://localhost/js/build.js?v=3.2.1.1:14 availableLocales https://localhost/js/build.js?v=3.2.1.1:8 get https://localhost/js/build.js?v=3.2.1.1:14 evaluate https://localhost/js/build.js?v=3.2.1.1:14 hi https://localhost/js/build.js?v=3.2.1.1:14 Ye https://localhost/js/build.js?v=3.2.1.1:8 _render https://localhost/js/build.js?v=3.2.1.1:14 i https://localhost/js/build.js?v=3.2.1.1:14 get https://localhost/js/build.js?v=3.2.1.1:14 ri https://localhost/js/build.js?v=3.2.1.1:14 In https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 init https://localhost/js/build.js?v=3.2.1.1:14 h https://localhost/js/build.js?v=3.2.1.1:14 p https://localhost/js/build.js?v=3.2.1.1:14 b https://localhost/js/build.js?v=3.2.1.1:14 p https://localhost/js/build.js?v=3.2.1.1:14 Ar https://localhost/js/build.js?v=3.2.1.1:14 _update https://localhost/js/build.js?v=3.2.1.1:14 i https://localhost/js/build.js?v=3.2.1.1:14 get https://localhost/js/build.js?v=3.2.1.1:14 ri https://localhost/js/build.js?v=3.2.1.1:14 In https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 init https://localhost/js/build.js?v=3.2.1.1:14 h https://localhost/js/build.js?v=3.2.1.1:14 p https://localhost/js/build.js?v=3.2.1.1:14 b https://localhost/js/build.js?v=3.2.1.1:14 p https://localhost/js/build.js?v=3.2.1.1:14 Ar https://localhost/js/build.js?v=3.2.1.1:14 _update https://localhost/js/build.js?v=3.2.1.1:14 i https://localhost/js/build.js?v=3.2.1.1:14 get https://localhost/js/build.js?v=3.2.1.1:14 ri https://localhost/js/build.js?v=3.2.1.1:14 In https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 init https://localhost/js/build.js?v=3.2.1.1:14 h https://localhost/js/build.js?v=3.2.1.1:14 p https://localhost/js/build.js?v=3.2.1.1:14 b https://localhost/js/build.js?v=3.2.1.1:14 p https://localhost/js/build.js?v=3.2.1.1:14 Ar https://localhost/js/build.js?v=3.2.1.1:14 _update https://localhost/js/build.js?v=3.2.1.1:14 i https://localhost/js/build.js?v=3.2.1.1:14 get https://localhost/js/build.js?v=3.2.1.1:14 ri https://localhost/js/build.js?v=3.2.1.1:14 In https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 $mount https://localhost/js/build.js?v=3.2.1.1:14 _init https://localhost/js/build.js?v=3.2.1.1:14 wi https://localhost/js/build.js?v=3.2.1.1:14 init https://localhost/js/build.js?v=3.2.1.1:8 <anonymous> https://localhost/rb/management/settings/context:222
I’m pretty sure the problem is because I have a corrupted db (that I can’t recover because there is no backup), but I don’t know much about vue.js so I don’t know how to start debugging to fix the db.
Any help is really appreciated,
m.