I met an error when use the Search function

Describe the issue or problem
Please tell us what happens and what you expected to happen.

Steps I took leading up to the issue
When I use the Search function or click on the Keywords (generated automatically), I met an issue, which can be seen as follows:

What application are you using?
OJS 3.3.0-20

Additional information
Please add any screenshots, logs or other information we can use to investigate this problem.


I checked the line 72 in the given file ( **/var/www/html/ojs/cache/t_compile/c18f74cb7ec86d000ca85f6baec01c420e4e3321^10ae5578a0959129b8d4ceeb9f99c1bb2a9cbd65_0.app.frontendcomponentsheader.tpl.php), which can be seen here: <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('page'=>"index",'router'=>PKP\core\PKPApplication::ROUTE_PAGE),$_smarty_tpl ) );?>

Is there anyone who can help me with that? Much appreciated.

Hi @Gary_liu,

It looks like you have code installed in your OJS 3.3.0 installation that’s intended for 3.4.0 or newer. Have you manually installed any plugins? That’s the likeliest cause.

Regards,
Alec Smecher
Public Knowledge Project Team

Yes, it strikes me that I manually installed a plugins called “Suggested Reviewers Plugin”. I deleted it according to your suggestion, but it still does not work, and when I tried to install the plugin with the version of 0.7.10 suitable for OJS 3.3, but it cannot be installed, with a state of busy permanently. I don’t know why.

Correction: Yes, it strikes me that I manually installed a plugins called “Suggested Reviewers Plugin”. I deleted it according to your suggestion, but it still does not work. BTW, I reinstalled the “Suggested Reviewers Plugin” with the version of 0.8.13, which is suitable for OJS 3.3.20. Could you help me with that? Much appreciated.

Is there anyone who can help me with this error? Many thanks.

Hi @Gary_liu,

You have a file header.tpl somewhere in your installation that contains code that’s intended for 3.4.0, but your installation is version 3.3.0. Look for any files named header.tpl that contain the text PKPApplication::ROUTE_PAGE. That will help you locate the inappropriate code.

Regards,
Alec Smecher
Public Knowledge Project Team