Plugins issue (LDAP) OJS 2.4.8

Hi, im trying to connect LDAP authentication to my server where OJS 2.4.8 is installed using the integrated plugin, which I filled correctly and I have my LDAP account manager set up correctly and working. The thing is that when I try to login to OJS using an account created in LDAP it simply wont go threw - get the your name or password must be wrong and these errors in the apache log. I am new to all of this so any help would be much appreciated. Thanks in advance

[Thu Dec 09 17:39:06.578327 2021] [php7:notice] [pid 4298] [client 146.102.129.167:59133] ojs2 has produced an error\n Message: WARNING: Declaration of FontSizeBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /var/www/html/plugins/blocks/fontSize/FontSizeBlockPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1, referer: Přihlášení

[Thu Dec 09 17:42:16.172929 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of GenericPlugin::manage($verb, $args, &$message, &$messageParams) should be compatible with PKPPlugin::manage($verb, $args, &$message, &$messageParams, $request = NULL)\n In file: /var/www/html/lib/pkp/classes/plugins/GenericPlugin.inc.php\n At line: 19\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.173142 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of UsageStatsPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /var/www/html/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 19\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.173268 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of ReportPlugin::manage($verb, $args) should be compatible with PKPPlugin::manage($verb, $args, &$message, &$messageParams, $request = NULL)\n In file: /var/www/html/classes/plugins/ReportPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.173391 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of UsageEventPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /var/www/html/plugins/generic/usageEvent/UsageEventPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.173523 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of AcronPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /var/www/html/plugins/generic/acron/AcronPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.173594 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of AcronPlugin::manage($verb, $args, &$message) should be compatible with GenericPlugin::manage($verb, $args, &$message, &$messageParams)\n In file: /var/www/html/plugins/generic/acron/AcronPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.173699 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of TinyMCEPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /var/www/html/plugins/generic/tinymce/TinyMCEPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1
[Thu Dec 09 17:42:16.175639 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of IndexHandler::index($args, &$request) should be compatible with PKPHandler::index()\n In file: /var/www/html/pages/index/IndexHandler.inc.php\n At line: 18\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.175909 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Parameter 2 to IndexHandler::index() expected to be a reference, value given\n In file: /var/www/html/lib/pkp/classes/core/PKPRouter.inc.php\n At line: 362\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.177053 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of NavigationBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /var/www/html/plugins/blocks/navigation/NavigationBlockPlugin.inc.php\n At line: 18\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.177228 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of NotificationBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /var/www/html/plugins/blocks/notification/NotificationBlockPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.177387 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of UserBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /var/www/html/plugins/blocks/user/UserBlockPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.177532 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of DonationBlockPlugin::getContents(&$templateMgr, $request) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /var/www/html/plugins/blocks/donation/DonationBlockPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.177798 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of LanguageToggleBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /var/www/html/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

[Thu Dec 09 17:42:16.177938 2021] [php7:notice] [pid 4343] [client 146.102.18.88:48674] ojs2 has produced an error\n Message: WARNING: Declaration of FontSizeBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /var/www/html/plugins/blocks/fontSize/FontSizeBlockPlugin.inc.php\n At line: 0\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.3.31-1~deb10u1\n Apache Version: Apache\n DB Driver: mysqli\n DB server version: 10.3.31-MariaDB-0+deb10u1

Hello @Sulmader,

Please note, that the version of OJS that you’re using is no longer maintained or supported by PKP. I recommend that you upgrade to the newest version of OJS. However, other community members may wish to offer assistance with your question.

You may find the following resources helpful in preparing for and performing the upgrade:

These resources will introduce you to OJS 3 and how it is different from OJS 2:

Best regards,

Roger
PKP Team