I’m creating a new topic as I’m not sure if it’s all related to the CustomLocale plugin issue.
We’ve tested 4 different installations of OJS and all have the same problem.
We are not able to change site admin settings.
Testing OJS 3 in a local environment, with Laragon and clean installation (Windows laptop) I have no problems.
Whenever we try to upgrade our OJS 2, some areas work, but the site admin content cannot be changed at all. The only time I believe it worked was once, but I’m not sure if I tested then changing content in the admin/site configuration. It crashed when I enabled plugins in the admin interface and after that, all hell broke loose.
A few log entries from one of our test, which are pretty much the same in all tests.
access log:
[Thu Jul 09 14:17:35.103619 2020] [php7:notice] [pid 364717] [client 10.0.20.200:47662] Invalid address: (From): root@localhost
[Thu Jul 09 14:21:47.822362 2020] [php7:warn] [pid 364778] [client 10.0.20.200:47702] PHP Warning: Creating default object from empty value in /var/www/teste-revista/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30, referer: http://192.168.0.216/
[Thu Jul 09 14:21:47.836244 2020] [php7:warn] [pid 364778] [client 10.0.20.200:47702] PHP Warning: Creating default object from empty value in /var/www/teste-revista/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30, referer: http://192.168.0.216/
[Thu Jul 09 14:24:10.596437 2020] [php7:notice] [pid 364778] [client 10.0.20.200:48056] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/
[Thu Jul 09 14:24:34.188410 2020] [php7:warn] [pid 364778] [client 10.0.20.200:48056] PHP Warning: Creating default object from empty value in /var/www/teste-revista/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30, referer: http://192.168.0.216/
[Thu Jul 09 14:24:34.285599 2020] [php7:warn] [pid 364778] [client 10.0.20.200:48056] PHP Warning: Creating default object from empty value in /var/www/teste-revista/cache/t_compile/00a0a0910209607cb33eb0fe6474f30ed7399ed7^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30, referer: http://192.168.0.216/
[Thu Jul 09 14:24:35.056025 2020] [php7:notice] [pid 364778] [client 10.0.20.200:48056] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf
[Thu Jul 09 14:26:29.134348 2020] [php7:notice] [pid 364796] [client 192.168.0.172:13514] ojs2: 404 Not Found
[Thu Jul 09 14:26:35.011140 2020] [php7:notice] [pid 364808] [client 192.168.0.172:5372] ojs2: 404 Not Found
[Thu Jul 09 14:34:42.993117 2020] [php7:notice] [pid 364798] [client 192.168.0.240:57224] ojs2: 404 Not Found
[Thu Jul 09 14:39:50.390362 2020] [php7:notice] [pid 364798] [client 10.0.0.234:50666] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:39:56.078888 2020] [php7:warn] [pid 364909] [client 10.0.0.234:50750] PHP Warning: include(/var/www/teste-revista/cache/fc-pluginSettings-0-recommendbysimilarityplugin.php): failed to open stream: No such file or directory in /var/www/teste-revista/lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:39:56.078894 2020] [php7:warn] [pid 364812] [client 10.0.0.234:50749] PHP Warning: include(/var/www/teste-revista/cache/fc-pluginSettings-0-recommendbysimilarityplugin.php): failed to open stream: No such file or directory in /var/www/teste-revista/lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:39:56.078930 2020] [php7:warn] [pid 364909] [client 10.0.0.234:50750] PHP Warning: include(): Failed opening ‘/var/www/teste-revista/cache/fc-pluginSettings-0-recommendbysimilarityplugin.php’ for inclusion (include_path=’.:/usr/share/php’) in /var/www/teste-revista/lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:39:56.078932 2020] [php7:warn] [pid 364812] [client 10.0.0.234:50749] PHP Warning: include(): Failed opening ‘/var/www/teste-revista/cache/fc-pluginSettings-0-recommendbysimilarityplugin.php’ for inclusion (include_path=’.:/usr/share/php’) in /var/www/teste-revista/lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:39:56.112894 2020] [php7:warn] [pid 364812] [client 10.0.0.234:50749] PHP Warning: include(/var/www/teste-revista/cache/fc-pluginSettings-0-recommendbyauthorplugin.php): failed to open stream: No such file or directory in /var/www/teste-revista/lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:39:56.112961 2020] [php7:warn] [pid 364812] [client 10.0.0.234:50749] PHP Warning: include(): Failed opening ‘/var/www/teste-revista/cache/fc-pluginSettings-0-recommendbyauthorplugin.php’ for inclusion (include_path=’.:/usr/share/php’) in /var/www/teste-revista/lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:40:06.978498 2020] [php7:notice] [pid 364914] [client 10.0.0.234:50870] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:40:10.673142 2020] [php7:notice] [pid 364771] [client 10.0.0.234:50915] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:40:56.910835 2020] [php7:notice] [pid 364812] [client 10.0.0.234:51363] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:41:01.833213 2020] [php7:notice] [pid 364772] [client 10.0.0.234:51399] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:41:41.417776 2020] [php7:notice] [pid 364813] [client 10.0.0.234:51758] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:41:42.808829 2020] [php7:notice] [pid 364916] [client 10.0.0.234:51775] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:51:22.608051 2020] [php7:notice] [pid 364937] [client 192.168.0.172:40933] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 14:57:29.303917 2020] [php7:notice] [pid 364967] [client 10.0.20.200:48382] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/index
[Thu Jul 09 14:57:29.503433 2020] [php7:notice] [pid 364967] [client 10.0.20.200:48382] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:30.138975 2020] [php7:notice] [pid 364967] [client 10.0.20.200:48382] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:30.142466 2020] [php7:notice] [pid 364971] [client 10.0.20.200:48386] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:30.245266 2020] [php7:notice] [pid 364967] [client 10.0.20.200:48382] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:30.283791 2020] [php7:notice] [pid 364971] [client 10.0.20.200:48386] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:30.341708 2020] [php7:notice] [pid 364967] [client 10.0.20.200:48382] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:35.119955 2020] [php7:notice] [pid 364967] [client 10.0.20.200:48382] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:38.991866 2020] [php7:notice] [pid 364974] [client 10.0.20.200:48390] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/user/profile
[Thu Jul 09 14:57:50.050116 2020] [php7:notice] [pid 364976] [client 10.0.20.200:48392] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:50.940202 2020] [php7:notice] [pid 364965] [client 10.0.20.200:48396] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:50.944176 2020] [php7:notice] [pid 364970] [client 10.0.20.200:48398] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:50.945702 2020] [php7:notice] [pid 364978] [client 10.0.20.200:48394] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:50.945715 2020] [php7:notice] [pid 364972] [client 10.0.20.200:48400] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:51.004978 2020] [php7:notice] [pid 364978] [client 10.0.20.200:48394] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:51.066760 2020] [php7:notice] [pid 364978] [client 10.0.20.200:48394] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/plugins/themes/default/DefaultThemePlugin.inc.php on line 204, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:51.896359 2020] [php7:notice] [pid 364972] [client 10.0.20.200:48400] PHP Notice: unserialize(): Error at offset 0 of 28 bytes in /var/www/teste-revista/lib/pkp/classes/db/DAO.inc.php on line 357, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 14:57:51.994757 2020] [php7:notice] [pid 364972] [client 10.0.20.200:48400] PHP Notice: unserialize(): Error at offset 0 of 28 bytes in /var/www/teste-revista/lib/pkp/classes/db/DAO.inc.php on line 357, referer: http://192.168.0.216/ciinf/submissions
[Thu Jul 09 15:00:46.291783 2020] [php7:notice] [pid 364972] [client 192.168.0.172:33235] ojs2: 404 Not Found, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.376695 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.403156 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.403215 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.404467 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.407807 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.408424 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.440825 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.450294 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.476147 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.476188 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.476204 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.476288 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.476523 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.558887 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:19.559218 2020] [php7:notice] [pid 364970] [client 192.168.0.172:39661] PHP Notice: Trying to access array offset on value of type null in /var/www/teste-revista/lib/pkp/lib/vendor/wikimedia/less.php/lib/Less/Parser.php on line 1927, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:21.101456 2020] [php7:warn] [pid 364970] [client 192.168.0.172:39661] PHP Warning: Element ‘id’ is not supported (for information on implementing this, see the support forums) in /var/www/teste-revista/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php on line 311, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:21.101480 2020] [php7:warn] [pid 364970] [client 192.168.0.172:39661] PHP Warning: Element ‘style’ is not supported (for information on implementing this, see the support forums) in /var/www/teste-revista/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php on line 311, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:21.101485 2020] [php7:warn] [pid 364970] [client 192.168.0.172:39661] PHP Warning: Element ‘title’ is not supported (for information on implementing this, see the support forums) in /var/www/teste-revista/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php on line 311, referer: http://192.168.0.216/admin/settings
[Thu Jul 09 15:04:21.101500 2020] [php7:warn] [pid 364970] [client 192.168.0.172:39661] PHP Warning: Element ‘name]’ is not supported (for information on implementing this, see the support forums) in /var/www/teste-revista/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php on line 311, referer: http://192.168.0.216/admin/settings